@@ -69,6 +70,18 @@ namespace Model
inline SubscribedAsset& WithAssetRevision(const char* value) { SetAssetRevision(value); return *this;}
///@}
+ ///@{
+ /**
+ * The asset scope of the subscribed asset.
+ */
+ inline const AssetScope& GetAssetScope() const{ return m_assetScope; }
+ inline bool AssetScopeHasBeenSet() const { return m_assetScopeHasBeenSet; }
+ inline void SetAssetScope(const AssetScope& value) { m_assetScopeHasBeenSet = true; m_assetScope = value; }
+ inline void SetAssetScope(AssetScope&& value) { m_assetScopeHasBeenSet = true; m_assetScope = std::move(value); }
+ inline SubscribedAsset& WithAssetScope(const AssetScope& value) { SetAssetScope(value); return *this;}
+ inline SubscribedAsset& WithAssetScope(AssetScope&& value) { SetAssetScope(std::move(value)); return *this;}
+ ///@}
+
///@{
/**
* The failure cause included in the details of the asset for which the
@@ -140,6 +153,9 @@ namespace Model
Aws::String m_assetRevision;
bool m_assetRevisionHasBeenSet = false;
+ AssetScope m_assetScope;
+ bool m_assetScopeHasBeenSet = false;
+
FailureCause m_failureCause;
bool m_failureCauseHasBeenSet = false;
diff --git a/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/SubscribedAssetListing.h b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/SubscribedAssetListing.h
index 040928b0b6a..6721e5a1ca4 100644
--- a/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/SubscribedAssetListing.h
+++ b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/SubscribedAssetListing.h
@@ -5,6 +5,7 @@
#pragma once
#include
+#include
#include
#include
#include
@@ -40,6 +41,18 @@ namespace Model
AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const;
+ ///@{
+ /**
+ * The asset scope of the subscribed asset listing.
+ */
+ inline const AssetScope& GetAssetScope() const{ return m_assetScope; }
+ inline bool AssetScopeHasBeenSet() const { return m_assetScopeHasBeenSet; }
+ inline void SetAssetScope(const AssetScope& value) { m_assetScopeHasBeenSet = true; m_assetScope = value; }
+ inline void SetAssetScope(AssetScope&& value) { m_assetScopeHasBeenSet = true; m_assetScope = std::move(value); }
+ inline SubscribedAssetListing& WithAssetScope(const AssetScope& value) { SetAssetScope(value); return *this;}
+ inline SubscribedAssetListing& WithAssetScope(AssetScope&& value) { SetAssetScope(std::move(value)); return *this;}
+ ///@}
+
///@{
/**
* The identifier of the published asset for which the subscription grant is
@@ -116,6 +129,9 @@ namespace Model
///@}
private:
+ AssetScope m_assetScope;
+ bool m_assetScopeHasBeenSet = false;
+
Aws::String m_entityId;
bool m_entityIdHasBeenSet = false;
diff --git a/generated/src/aws-cpp-sdk-datazone/source/model/AcceptSubscriptionRequestRequest.cpp b/generated/src/aws-cpp-sdk-datazone/source/model/AcceptSubscriptionRequestRequest.cpp
index 5bd93f5a332..cb6f6caf4f0 100644
--- a/generated/src/aws-cpp-sdk-datazone/source/model/AcceptSubscriptionRequestRequest.cpp
+++ b/generated/src/aws-cpp-sdk-datazone/source/model/AcceptSubscriptionRequestRequest.cpp
@@ -13,6 +13,7 @@ using namespace Aws::Utils::Json;
using namespace Aws::Utils;
AcceptSubscriptionRequestRequest::AcceptSubscriptionRequestRequest() :
+ m_assetScopesHasBeenSet(false),
m_decisionCommentHasBeenSet(false),
m_domainIdentifierHasBeenSet(false),
m_identifierHasBeenSet(false)
@@ -23,6 +24,17 @@ Aws::String AcceptSubscriptionRequestRequest::SerializePayload() const
{
JsonValue payload;
+ if(m_assetScopesHasBeenSet)
+ {
+ Aws::Utils::Array assetScopesJsonList(m_assetScopes.size());
+ for(unsigned assetScopesIndex = 0; assetScopesIndex < assetScopesJsonList.GetLength(); ++assetScopesIndex)
+ {
+ assetScopesJsonList[assetScopesIndex].AsObject(m_assetScopes[assetScopesIndex].Jsonize());
+ }
+ payload.WithArray("assetScopes", std::move(assetScopesJsonList));
+
+ }
+
if(m_decisionCommentHasBeenSet)
{
payload.WithString("decisionComment", m_decisionComment);
diff --git a/generated/src/aws-cpp-sdk-datazone/source/model/AcceptedAssetScope.cpp b/generated/src/aws-cpp-sdk-datazone/source/model/AcceptedAssetScope.cpp
new file mode 100644
index 00000000000..a61d9d06f12
--- /dev/null
+++ b/generated/src/aws-cpp-sdk-datazone/source/model/AcceptedAssetScope.cpp
@@ -0,0 +1,81 @@
+/**
+ * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ * SPDX-License-Identifier: Apache-2.0.
+ */
+
+#include
+#include
+
+#include
+
+using namespace Aws::Utils::Json;
+using namespace Aws::Utils;
+
+namespace Aws
+{
+namespace DataZone
+{
+namespace Model
+{
+
+AcceptedAssetScope::AcceptedAssetScope() :
+ m_assetIdHasBeenSet(false),
+ m_filterIdsHasBeenSet(false)
+{
+}
+
+AcceptedAssetScope::AcceptedAssetScope(JsonView jsonValue)
+ : AcceptedAssetScope()
+{
+ *this = jsonValue;
+}
+
+AcceptedAssetScope& AcceptedAssetScope::operator =(JsonView jsonValue)
+{
+ if(jsonValue.ValueExists("assetId"))
+ {
+ m_assetId = jsonValue.GetString("assetId");
+
+ m_assetIdHasBeenSet = true;
+ }
+
+ if(jsonValue.ValueExists("filterIds"))
+ {
+ Aws::Utils::Array filterIdsJsonList = jsonValue.GetArray("filterIds");
+ for(unsigned filterIdsIndex = 0; filterIdsIndex < filterIdsJsonList.GetLength(); ++filterIdsIndex)
+ {
+ m_filterIds.push_back(filterIdsJsonList[filterIdsIndex].AsString());
+ }
+ m_filterIdsHasBeenSet = true;
+ }
+
+ return *this;
+}
+
+JsonValue AcceptedAssetScope::Jsonize() const
+{
+ JsonValue payload;
+
+ if(m_assetIdHasBeenSet)
+ {
+ payload.WithString("assetId", m_assetId);
+
+ }
+
+ if(m_filterIdsHasBeenSet)
+ {
+ Aws::Utils::Array filterIdsJsonList(m_filterIds.size());
+ for(unsigned filterIdsIndex = 0; filterIdsIndex < filterIdsJsonList.GetLength(); ++filterIdsIndex)
+ {
+ filterIdsJsonList[filterIdsIndex].AsString(m_filterIds[filterIdsIndex]);
+ }
+ payload.WithArray("filterIds", std::move(filterIdsJsonList));
+
+ }
+
+ return payload;
+}
+
+} // namespace Model
+} // namespace DataZone
+} // namespace Aws
diff --git a/generated/src/aws-cpp-sdk-datazone/source/model/AssetScope.cpp b/generated/src/aws-cpp-sdk-datazone/source/model/AssetScope.cpp
new file mode 100644
index 00000000000..e207cce79fc
--- /dev/null
+++ b/generated/src/aws-cpp-sdk-datazone/source/model/AssetScope.cpp
@@ -0,0 +1,109 @@
+/**
+ * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ * SPDX-License-Identifier: Apache-2.0.
+ */
+
+#include
+#include
+
+#include
+
+using namespace Aws::Utils::Json;
+using namespace Aws::Utils;
+
+namespace Aws
+{
+namespace DataZone
+{
+namespace Model
+{
+
+AssetScope::AssetScope() :
+ m_assetIdHasBeenSet(false),
+ m_errorMessageHasBeenSet(false),
+ m_filterIdsHasBeenSet(false),
+ m_statusHasBeenSet(false)
+{
+}
+
+AssetScope::AssetScope(JsonView jsonValue)
+ : AssetScope()
+{
+ *this = jsonValue;
+}
+
+AssetScope& AssetScope::operator =(JsonView jsonValue)
+{
+ if(jsonValue.ValueExists("assetId"))
+ {
+ m_assetId = jsonValue.GetString("assetId");
+
+ m_assetIdHasBeenSet = true;
+ }
+
+ if(jsonValue.ValueExists("errorMessage"))
+ {
+ m_errorMessage = jsonValue.GetString("errorMessage");
+
+ m_errorMessageHasBeenSet = true;
+ }
+
+ if(jsonValue.ValueExists("filterIds"))
+ {
+ Aws::Utils::Array filterIdsJsonList = jsonValue.GetArray("filterIds");
+ for(unsigned filterIdsIndex = 0; filterIdsIndex < filterIdsJsonList.GetLength(); ++filterIdsIndex)
+ {
+ m_filterIds.push_back(filterIdsJsonList[filterIdsIndex].AsString());
+ }
+ m_filterIdsHasBeenSet = true;
+ }
+
+ if(jsonValue.ValueExists("status"))
+ {
+ m_status = jsonValue.GetString("status");
+
+ m_statusHasBeenSet = true;
+ }
+
+ return *this;
+}
+
+JsonValue AssetScope::Jsonize() const
+{
+ JsonValue payload;
+
+ if(m_assetIdHasBeenSet)
+ {
+ payload.WithString("assetId", m_assetId);
+
+ }
+
+ if(m_errorMessageHasBeenSet)
+ {
+ payload.WithString("errorMessage", m_errorMessage);
+
+ }
+
+ if(m_filterIdsHasBeenSet)
+ {
+ Aws::Utils::Array filterIdsJsonList(m_filterIds.size());
+ for(unsigned filterIdsIndex = 0; filterIdsIndex < filterIdsJsonList.GetLength(); ++filterIdsIndex)
+ {
+ filterIdsJsonList[filterIdsIndex].AsString(m_filterIds[filterIdsIndex]);
+ }
+ payload.WithArray("filterIds", std::move(filterIdsJsonList));
+
+ }
+
+ if(m_statusHasBeenSet)
+ {
+ payload.WithString("status", m_status);
+
+ }
+
+ return payload;
+}
+
+} // namespace Model
+} // namespace DataZone
+} // namespace Aws
diff --git a/generated/src/aws-cpp-sdk-datazone/source/model/SubscribedAsset.cpp b/generated/src/aws-cpp-sdk-datazone/source/model/SubscribedAsset.cpp
index 9ffc3c3c20f..906d22f7b62 100644
--- a/generated/src/aws-cpp-sdk-datazone/source/model/SubscribedAsset.cpp
+++ b/generated/src/aws-cpp-sdk-datazone/source/model/SubscribedAsset.cpp
@@ -21,6 +21,7 @@ namespace Model
SubscribedAsset::SubscribedAsset() :
m_assetIdHasBeenSet(false),
m_assetRevisionHasBeenSet(false),
+ m_assetScopeHasBeenSet(false),
m_failureCauseHasBeenSet(false),
m_failureTimestampHasBeenSet(false),
m_grantedTimestampHasBeenSet(false),
@@ -52,6 +53,13 @@ SubscribedAsset& SubscribedAsset::operator =(JsonView jsonValue)
m_assetRevisionHasBeenSet = true;
}
+ if(jsonValue.ValueExists("assetScope"))
+ {
+ m_assetScope = jsonValue.GetObject("assetScope");
+
+ m_assetScopeHasBeenSet = true;
+ }
+
if(jsonValue.ValueExists("failureCause"))
{
m_failureCause = jsonValue.GetObject("failureCause");
@@ -106,6 +114,12 @@ JsonValue SubscribedAsset::Jsonize() const
}
+ if(m_assetScopeHasBeenSet)
+ {
+ payload.WithObject("assetScope", m_assetScope.Jsonize());
+
+ }
+
if(m_failureCauseHasBeenSet)
{
payload.WithObject("failureCause", m_failureCause.Jsonize());
diff --git a/generated/src/aws-cpp-sdk-datazone/source/model/SubscribedAssetListing.cpp b/generated/src/aws-cpp-sdk-datazone/source/model/SubscribedAssetListing.cpp
index fbdcf1f4595..3d3e60ccb0a 100644
--- a/generated/src/aws-cpp-sdk-datazone/source/model/SubscribedAssetListing.cpp
+++ b/generated/src/aws-cpp-sdk-datazone/source/model/SubscribedAssetListing.cpp
@@ -19,6 +19,7 @@ namespace Model
{
SubscribedAssetListing::SubscribedAssetListing() :
+ m_assetScopeHasBeenSet(false),
m_entityIdHasBeenSet(false),
m_entityRevisionHasBeenSet(false),
m_entityTypeHasBeenSet(false),
@@ -35,6 +36,13 @@ SubscribedAssetListing::SubscribedAssetListing(JsonView jsonValue)
SubscribedAssetListing& SubscribedAssetListing::operator =(JsonView jsonValue)
{
+ if(jsonValue.ValueExists("assetScope"))
+ {
+ m_assetScope = jsonValue.GetObject("assetScope");
+
+ m_assetScopeHasBeenSet = true;
+ }
+
if(jsonValue.ValueExists("entityId"))
{
m_entityId = jsonValue.GetString("entityId");
@@ -80,6 +88,12 @@ JsonValue SubscribedAssetListing::Jsonize() const
{
JsonValue payload;
+ if(m_assetScopeHasBeenSet)
+ {
+ payload.WithObject("assetScope", m_assetScope.Jsonize());
+
+ }
+
if(m_entityIdHasBeenSet)
{
payload.WithString("entityId", m_entityId);
diff --git a/generated/src/aws-cpp-sdk-elasticloadbalancingv2/include/aws/elasticloadbalancingv2/ElasticLoadBalancingv2Client.h b/generated/src/aws-cpp-sdk-elasticloadbalancingv2/include/aws/elasticloadbalancingv2/ElasticLoadBalancingv2Client.h
index 287d3eaaf0d..6bdd0bf9033 100644
--- a/generated/src/aws-cpp-sdk-elasticloadbalancingv2/include/aws/elasticloadbalancingv2/ElasticLoadBalancingv2Client.h
+++ b/generated/src/aws-cpp-sdk-elasticloadbalancingv2/include/aws/elasticloadbalancingv2/ElasticLoadBalancingv2Client.h
@@ -596,6 +596,32 @@ namespace ElasticLoadBalancingv2
return SubmitAsync(&ElasticLoadBalancingv2Client::DescribeAccountLimits, request, handler, context);
}
+ /**
+ * Describes the attributes for the specified listener.
See Also:
+ * AWS
+ * API Reference
+ */
+ virtual Model::DescribeListenerAttributesOutcome DescribeListenerAttributes(const Model::DescribeListenerAttributesRequest& request) const;
+
+ /**
+ * A Callable wrapper for DescribeListenerAttributes that returns a future to the operation so that it can be executed in parallel to other requests.
+ */
+ template
+ Model::DescribeListenerAttributesOutcomeCallable DescribeListenerAttributesCallable(const DescribeListenerAttributesRequestT& request) const
+ {
+ return SubmitCallable(&ElasticLoadBalancingv2Client::DescribeListenerAttributes, request);
+ }
+
+ /**
+ * An Async wrapper for DescribeListenerAttributes that queues the request into a thread executor and triggers associated callback when operation has finished.
+ */
+ template
+ void DescribeListenerAttributesAsync(const DescribeListenerAttributesRequestT& request, const DescribeListenerAttributesResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
+ {
+ return SubmitAsync(&ElasticLoadBalancingv2Client::DescribeListenerAttributes, request, handler, context);
+ }
+
/**
* Describes the default certificate and the certificate list for the specified
* HTTPS or TLS listener.
If the default certificate is also in the
@@ -1085,6 +1111,32 @@ namespace ElasticLoadBalancingv2
return SubmitAsync(&ElasticLoadBalancingv2Client::ModifyListener, request, handler, context);
}
+ /**
+ *
Modifies the specified attributes of the specified listener.
See
+ * Also:
AWS
+ * API Reference
+ */
+ virtual Model::ModifyListenerAttributesOutcome ModifyListenerAttributes(const Model::ModifyListenerAttributesRequest& request) const;
+
+ /**
+ * A Callable wrapper for ModifyListenerAttributes that returns a future to the operation so that it can be executed in parallel to other requests.
+ */
+ template
+ Model::ModifyListenerAttributesOutcomeCallable ModifyListenerAttributesCallable(const ModifyListenerAttributesRequestT& request) const
+ {
+ return SubmitCallable(&ElasticLoadBalancingv2Client::ModifyListenerAttributes, request);
+ }
+
+ /**
+ * An Async wrapper for ModifyListenerAttributes that queues the request into a thread executor and triggers associated callback when operation has finished.
+ */
+ template
+ void ModifyListenerAttributesAsync(const ModifyListenerAttributesRequestT& request, const ModifyListenerAttributesResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
+ {
+ return SubmitAsync(&ElasticLoadBalancingv2Client::ModifyListenerAttributes, request, handler, context);
+ }
+
/**
* Modifies the specified attributes of the specified Application Load Balancer,
* Network Load Balancer, or Gateway Load Balancer.
If any of the specified
diff --git a/generated/src/aws-cpp-sdk-elasticloadbalancingv2/include/aws/elasticloadbalancingv2/ElasticLoadBalancingv2ServiceClientModel.h b/generated/src/aws-cpp-sdk-elasticloadbalancingv2/include/aws/elasticloadbalancingv2/ElasticLoadBalancingv2ServiceClientModel.h
index dc3a8dbdfbb..a2bb995fbf2 100644
--- a/generated/src/aws-cpp-sdk-elasticloadbalancingv2/include/aws/elasticloadbalancingv2/ElasticLoadBalancingv2ServiceClientModel.h
+++ b/generated/src/aws-cpp-sdk-elasticloadbalancingv2/include/aws/elasticloadbalancingv2/ElasticLoadBalancingv2ServiceClientModel.h
@@ -34,6 +34,7 @@
#include
#include
#include
+#include
#include
#include
#include
@@ -51,6 +52,7 @@
#include
#include
#include
+#include
#include
#include
#include
@@ -127,6 +129,7 @@ namespace Aws
class DeleteTrustStoreRequest;
class DeregisterTargetsRequest;
class DescribeAccountLimitsRequest;
+ class DescribeListenerAttributesRequest;
class DescribeListenerCertificatesRequest;
class DescribeListenersRequest;
class DescribeLoadBalancerAttributesRequest;
@@ -144,6 +147,7 @@ namespace Aws
class GetTrustStoreCaCertificatesBundleRequest;
class GetTrustStoreRevocationContentRequest;
class ModifyListenerRequest;
+ class ModifyListenerAttributesRequest;
class ModifyLoadBalancerAttributesRequest;
class ModifyRuleRequest;
class ModifyTargetGroupRequest;
@@ -176,6 +180,7 @@ namespace Aws
typedef Aws::Utils::Outcome DeleteTrustStoreOutcome;
typedef Aws::Utils::Outcome DeregisterTargetsOutcome;
typedef Aws::Utils::Outcome DescribeAccountLimitsOutcome;
+ typedef Aws::Utils::Outcome DescribeListenerAttributesOutcome;
typedef Aws::Utils::Outcome DescribeListenerCertificatesOutcome;
typedef Aws::Utils::Outcome DescribeListenersOutcome;
typedef Aws::Utils::Outcome DescribeLoadBalancerAttributesOutcome;
@@ -193,6 +198,7 @@ namespace Aws
typedef Aws::Utils::Outcome GetTrustStoreCaCertificatesBundleOutcome;
typedef Aws::Utils::Outcome GetTrustStoreRevocationContentOutcome;
typedef Aws::Utils::Outcome ModifyListenerOutcome;
+ typedef Aws::Utils::Outcome ModifyListenerAttributesOutcome;
typedef Aws::Utils::Outcome ModifyLoadBalancerAttributesOutcome;
typedef Aws::Utils::Outcome ModifyRuleOutcome;
typedef Aws::Utils::Outcome ModifyTargetGroupOutcome;
@@ -225,6 +231,7 @@ namespace Aws
typedef std::future DeleteTrustStoreOutcomeCallable;
typedef std::future DeregisterTargetsOutcomeCallable;
typedef std::future DescribeAccountLimitsOutcomeCallable;
+ typedef std::future DescribeListenerAttributesOutcomeCallable;
typedef std::future DescribeListenerCertificatesOutcomeCallable;
typedef std::future DescribeListenersOutcomeCallable;
typedef std::future DescribeLoadBalancerAttributesOutcomeCallable;
@@ -242,6 +249,7 @@ namespace Aws
typedef std::future GetTrustStoreCaCertificatesBundleOutcomeCallable;
typedef std::future GetTrustStoreRevocationContentOutcomeCallable;
typedef std::future ModifyListenerOutcomeCallable;
+ typedef std::future ModifyListenerAttributesOutcomeCallable;
typedef std::future ModifyLoadBalancerAttributesOutcomeCallable;
typedef std::future ModifyRuleOutcomeCallable;
typedef std::future ModifyTargetGroupOutcomeCallable;
@@ -277,6 +285,7 @@ namespace Aws
typedef std::function&) > DeleteTrustStoreResponseReceivedHandler;
typedef std::function&) > DeregisterTargetsResponseReceivedHandler;
typedef std::function&) > DescribeAccountLimitsResponseReceivedHandler;
+ typedef std::function&) > DescribeListenerAttributesResponseReceivedHandler;
typedef std::function&) > DescribeListenerCertificatesResponseReceivedHandler;
typedef std::function&) > DescribeListenersResponseReceivedHandler;
typedef std::function&) > DescribeLoadBalancerAttributesResponseReceivedHandler;
@@ -294,6 +303,7 @@ namespace Aws
typedef std::function&) > GetTrustStoreCaCertificatesBundleResponseReceivedHandler;
typedef std::function&) > GetTrustStoreRevocationContentResponseReceivedHandler;
typedef std::function&) > ModifyListenerResponseReceivedHandler;
+ typedef std::function&) > ModifyListenerAttributesResponseReceivedHandler;
typedef std::function&) > ModifyLoadBalancerAttributesResponseReceivedHandler;
typedef std::function&) > ModifyRuleResponseReceivedHandler;
typedef std::function&) > ModifyTargetGroupResponseReceivedHandler;
diff --git a/generated/src/aws-cpp-sdk-elasticloadbalancingv2/include/aws/elasticloadbalancingv2/model/DescribeListenerAttributesRequest.h b/generated/src/aws-cpp-sdk-elasticloadbalancingv2/include/aws/elasticloadbalancingv2/model/DescribeListenerAttributesRequest.h
new file mode 100644
index 00000000000..d2f880153a8
--- /dev/null
+++ b/generated/src/aws-cpp-sdk-elasticloadbalancingv2/include/aws/elasticloadbalancingv2/model/DescribeListenerAttributesRequest.h
@@ -0,0 +1,60 @@
+/**
+ * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ * SPDX-License-Identifier: Apache-2.0.
+ */
+
+#pragma once
+#include
+#include
+#include
+#include
+
+namespace Aws
+{
+namespace ElasticLoadBalancingv2
+{
+namespace Model
+{
+
+ /**
+ */
+ class DescribeListenerAttributesRequest : public ElasticLoadBalancingv2Request
+ {
+ public:
+ AWS_ELASTICLOADBALANCINGV2_API DescribeListenerAttributesRequest();
+
+ // Service request name is the Operation name which will send this request out,
+ // each operation should has unique request name, so that we can get operation's name from this request.
+ // Note: this is not true for response, multiple operations may have the same response name,
+ // so we can not get operation's name from response.
+ inline virtual const char* GetServiceRequestName() const override { return "DescribeListenerAttributes"; }
+
+ AWS_ELASTICLOADBALANCINGV2_API Aws::String SerializePayload() const override;
+
+ protected:
+ AWS_ELASTICLOADBALANCINGV2_API void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
+
+ public:
+
+ ///@{
+ /**
+ * The Amazon Resource Name (ARN) of the listener.
+ */
+ inline const Aws::String& GetListenerArn() const{ return m_listenerArn; }
+ inline bool ListenerArnHasBeenSet() const { return m_listenerArnHasBeenSet; }
+ inline void SetListenerArn(const Aws::String& value) { m_listenerArnHasBeenSet = true; m_listenerArn = value; }
+ inline void SetListenerArn(Aws::String&& value) { m_listenerArnHasBeenSet = true; m_listenerArn = std::move(value); }
+ inline void SetListenerArn(const char* value) { m_listenerArnHasBeenSet = true; m_listenerArn.assign(value); }
+ inline DescribeListenerAttributesRequest& WithListenerArn(const Aws::String& value) { SetListenerArn(value); return *this;}
+ inline DescribeListenerAttributesRequest& WithListenerArn(Aws::String&& value) { SetListenerArn(std::move(value)); return *this;}
+ inline DescribeListenerAttributesRequest& WithListenerArn(const char* value) { SetListenerArn(value); return *this;}
+ ///@}
+ private:
+
+ Aws::String m_listenerArn;
+ bool m_listenerArnHasBeenSet = false;
+ };
+
+} // namespace Model
+} // namespace ElasticLoadBalancingv2
+} // namespace Aws
diff --git a/generated/src/aws-cpp-sdk-elasticloadbalancingv2/include/aws/elasticloadbalancingv2/model/DescribeListenerAttributesResult.h b/generated/src/aws-cpp-sdk-elasticloadbalancingv2/include/aws/elasticloadbalancingv2/model/DescribeListenerAttributesResult.h
new file mode 100644
index 00000000000..92d7cb6f31e
--- /dev/null
+++ b/generated/src/aws-cpp-sdk-elasticloadbalancingv2/include/aws/elasticloadbalancingv2/model/DescribeListenerAttributesResult.h
@@ -0,0 +1,67 @@
+/**
+ * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ * SPDX-License-Identifier: Apache-2.0.
+ */
+
+#pragma once
+#include
+#include
+#include
+#include
+#include
+
+namespace Aws
+{
+template
+class AmazonWebServiceResult;
+
+namespace Utils
+{
+namespace Xml
+{
+ class XmlDocument;
+} // namespace Xml
+} // namespace Utils
+namespace ElasticLoadBalancingv2
+{
+namespace Model
+{
+ class DescribeListenerAttributesResult
+ {
+ public:
+ AWS_ELASTICLOADBALANCINGV2_API DescribeListenerAttributesResult();
+ AWS_ELASTICLOADBALANCINGV2_API DescribeListenerAttributesResult(const Aws::AmazonWebServiceResult& result);
+ AWS_ELASTICLOADBALANCINGV2_API DescribeListenerAttributesResult& operator=(const Aws::AmazonWebServiceResult& result);
+
+
+ ///@{
+ /**
+ * Information about the listener attributes.
+ */
+ inline const Aws::Vector& GetAttributes() const{ return m_attributes; }
+ inline void SetAttributes(const Aws::Vector& value) { m_attributes = value; }
+ inline void SetAttributes(Aws::Vector&& value) { m_attributes = std::move(value); }
+ inline DescribeListenerAttributesResult& WithAttributes(const Aws::Vector& value) { SetAttributes(value); return *this;}
+ inline DescribeListenerAttributesResult& WithAttributes(Aws::Vector&& value) { SetAttributes(std::move(value)); return *this;}
+ inline DescribeListenerAttributesResult& AddAttributes(const ListenerAttribute& value) { m_attributes.push_back(value); return *this; }
+ inline DescribeListenerAttributesResult& AddAttributes(ListenerAttribute&& value) { m_attributes.push_back(std::move(value)); return *this; }
+ ///@}
+
+ ///@{
+
+ inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
+ inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
+ inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
+ inline DescribeListenerAttributesResult& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;}
+ inline DescribeListenerAttributesResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;}
+ ///@}
+ private:
+
+ Aws::Vector m_attributes;
+
+ ResponseMetadata m_responseMetadata;
+ };
+
+} // namespace Model
+} // namespace ElasticLoadBalancingv2
+} // namespace Aws
diff --git a/generated/src/aws-cpp-sdk-elasticloadbalancingv2/include/aws/elasticloadbalancingv2/model/ListenerAttribute.h b/generated/src/aws-cpp-sdk-elasticloadbalancingv2/include/aws/elasticloadbalancingv2/model/ListenerAttribute.h
new file mode 100644
index 00000000000..ee14f11d3b1
--- /dev/null
+++ b/generated/src/aws-cpp-sdk-elasticloadbalancingv2/include/aws/elasticloadbalancingv2/model/ListenerAttribute.h
@@ -0,0 +1,83 @@
+/**
+ * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ * SPDX-License-Identifier: Apache-2.0.
+ */
+
+#pragma once
+#include
+#include
+#include
+#include
+
+namespace Aws
+{
+namespace Utils
+{
+namespace Xml
+{
+ class XmlNode;
+} // namespace Xml
+} // namespace Utils
+namespace ElasticLoadBalancingv2
+{
+namespace Model
+{
+
+ /**
+ * Information about a listener attribute.
See Also:
AWS
+ * API Reference
+ */
+ class ListenerAttribute
+ {
+ public:
+ AWS_ELASTICLOADBALANCINGV2_API ListenerAttribute();
+ AWS_ELASTICLOADBALANCINGV2_API ListenerAttribute(const Aws::Utils::Xml::XmlNode& xmlNode);
+ AWS_ELASTICLOADBALANCINGV2_API ListenerAttribute& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
+
+ AWS_ELASTICLOADBALANCINGV2_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
+ AWS_ELASTICLOADBALANCINGV2_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
+
+
+ ///@{
+ /**
+ * The name of the attribute.
The following attribute is supported by
+ * Network Load Balancers, and Gateway Load Balancers.
+ */
+ inline const Aws::String& GetKey() const{ return m_key; }
+ inline bool KeyHasBeenSet() const { return m_keyHasBeenSet; }
+ inline void SetKey(const Aws::String& value) { m_keyHasBeenSet = true; m_key = value; }
+ inline void SetKey(Aws::String&& value) { m_keyHasBeenSet = true; m_key = std::move(value); }
+ inline void SetKey(const char* value) { m_keyHasBeenSet = true; m_key.assign(value); }
+ inline ListenerAttribute& WithKey(const Aws::String& value) { SetKey(value); return *this;}
+ inline ListenerAttribute& WithKey(Aws::String&& value) { SetKey(std::move(value)); return *this;}
+ inline ListenerAttribute& WithKey(const char* value) { SetKey(value); return *this;}
+ ///@}
+
+ ///@{
+ /**
+ * The value of the attribute.
+ */
+ inline const Aws::String& GetValue() const{ return m_value; }
+ inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; }
+ inline void SetValue(const Aws::String& value) { m_valueHasBeenSet = true; m_value = value; }
+ inline void SetValue(Aws::String&& value) { m_valueHasBeenSet = true; m_value = std::move(value); }
+ inline void SetValue(const char* value) { m_valueHasBeenSet = true; m_value.assign(value); }
+ inline ListenerAttribute& WithValue(const Aws::String& value) { SetValue(value); return *this;}
+ inline ListenerAttribute& WithValue(Aws::String&& value) { SetValue(std::move(value)); return *this;}
+ inline ListenerAttribute& WithValue(const char* value) { SetValue(value); return *this;}
+ ///@}
+ private:
+
+ Aws::String m_key;
+ bool m_keyHasBeenSet = false;
+
+ Aws::String m_value;
+ bool m_valueHasBeenSet = false;
+ };
+
+} // namespace Model
+} // namespace ElasticLoadBalancingv2
+} // namespace Aws
diff --git a/generated/src/aws-cpp-sdk-elasticloadbalancingv2/include/aws/elasticloadbalancingv2/model/ModifyListenerAttributesRequest.h b/generated/src/aws-cpp-sdk-elasticloadbalancingv2/include/aws/elasticloadbalancingv2/model/ModifyListenerAttributesRequest.h
new file mode 100644
index 00000000000..0f8e17d4c45
--- /dev/null
+++ b/generated/src/aws-cpp-sdk-elasticloadbalancingv2/include/aws/elasticloadbalancingv2/model/ModifyListenerAttributesRequest.h
@@ -0,0 +1,79 @@
+/**
+ * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ * SPDX-License-Identifier: Apache-2.0.
+ */
+
+#pragma once
+#include
+#include
+#include
+#include
+#include
+#include
+
+namespace Aws
+{
+namespace ElasticLoadBalancingv2
+{
+namespace Model
+{
+
+ /**
+ */
+ class ModifyListenerAttributesRequest : public ElasticLoadBalancingv2Request
+ {
+ public:
+ AWS_ELASTICLOADBALANCINGV2_API ModifyListenerAttributesRequest();
+
+ // Service request name is the Operation name which will send this request out,
+ // each operation should has unique request name, so that we can get operation's name from this request.
+ // Note: this is not true for response, multiple operations may have the same response name,
+ // so we can not get operation's name from response.
+ inline virtual const char* GetServiceRequestName() const override { return "ModifyListenerAttributes"; }
+
+ AWS_ELASTICLOADBALANCINGV2_API Aws::String SerializePayload() const override;
+
+ protected:
+ AWS_ELASTICLOADBALANCINGV2_API void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
+
+ public:
+
+ ///@{
+ /**
+ * The Amazon Resource Name (ARN) of the listener.
+ */
+ inline const Aws::String& GetListenerArn() const{ return m_listenerArn; }
+ inline bool ListenerArnHasBeenSet() const { return m_listenerArnHasBeenSet; }
+ inline void SetListenerArn(const Aws::String& value) { m_listenerArnHasBeenSet = true; m_listenerArn = value; }
+ inline void SetListenerArn(Aws::String&& value) { m_listenerArnHasBeenSet = true; m_listenerArn = std::move(value); }
+ inline void SetListenerArn(const char* value) { m_listenerArnHasBeenSet = true; m_listenerArn.assign(value); }
+ inline ModifyListenerAttributesRequest& WithListenerArn(const Aws::String& value) { SetListenerArn(value); return *this;}
+ inline ModifyListenerAttributesRequest& WithListenerArn(Aws::String&& value) { SetListenerArn(std::move(value)); return *this;}
+ inline ModifyListenerAttributesRequest& WithListenerArn(const char* value) { SetListenerArn(value); return *this;}
+ ///@}
+
+ ///@{
+ /**
+ * The listener attributes.
+ */
+ inline const Aws::Vector& GetAttributes() const{ return m_attributes; }
+ inline bool AttributesHasBeenSet() const { return m_attributesHasBeenSet; }
+ inline void SetAttributes(const Aws::Vector& value) { m_attributesHasBeenSet = true; m_attributes = value; }
+ inline void SetAttributes(Aws::Vector&& value) { m_attributesHasBeenSet = true; m_attributes = std::move(value); }
+ inline ModifyListenerAttributesRequest& WithAttributes(const Aws::Vector& value) { SetAttributes(value); return *this;}
+ inline ModifyListenerAttributesRequest& WithAttributes(Aws::Vector&& value) { SetAttributes(std::move(value)); return *this;}
+ inline ModifyListenerAttributesRequest& AddAttributes(const ListenerAttribute& value) { m_attributesHasBeenSet = true; m_attributes.push_back(value); return *this; }
+ inline ModifyListenerAttributesRequest& AddAttributes(ListenerAttribute&& value) { m_attributesHasBeenSet = true; m_attributes.push_back(std::move(value)); return *this; }
+ ///@}
+ private:
+
+ Aws::String m_listenerArn;
+ bool m_listenerArnHasBeenSet = false;
+
+ Aws::Vector m_attributes;
+ bool m_attributesHasBeenSet = false;
+ };
+
+} // namespace Model
+} // namespace ElasticLoadBalancingv2
+} // namespace Aws
diff --git a/generated/src/aws-cpp-sdk-elasticloadbalancingv2/include/aws/elasticloadbalancingv2/model/ModifyListenerAttributesResult.h b/generated/src/aws-cpp-sdk-elasticloadbalancingv2/include/aws/elasticloadbalancingv2/model/ModifyListenerAttributesResult.h
new file mode 100644
index 00000000000..25e3448df84
--- /dev/null
+++ b/generated/src/aws-cpp-sdk-elasticloadbalancingv2/include/aws/elasticloadbalancingv2/model/ModifyListenerAttributesResult.h
@@ -0,0 +1,67 @@
+/**
+ * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ * SPDX-License-Identifier: Apache-2.0.
+ */
+
+#pragma once
+#include
+#include
+#include
+#include
+#include
+
+namespace Aws
+{
+template
+class AmazonWebServiceResult;
+
+namespace Utils
+{
+namespace Xml
+{
+ class XmlDocument;
+} // namespace Xml
+} // namespace Utils
+namespace ElasticLoadBalancingv2
+{
+namespace Model
+{
+ class ModifyListenerAttributesResult
+ {
+ public:
+ AWS_ELASTICLOADBALANCINGV2_API ModifyListenerAttributesResult();
+ AWS_ELASTICLOADBALANCINGV2_API ModifyListenerAttributesResult(const Aws::AmazonWebServiceResult& result);
+ AWS_ELASTICLOADBALANCINGV2_API ModifyListenerAttributesResult& operator=(const Aws::AmazonWebServiceResult& result);
+
+
+ ///@{
+ /**
+ * Information about the listener attributes.
+ */
+ inline const Aws::Vector& GetAttributes() const{ return m_attributes; }
+ inline void SetAttributes(const Aws::Vector& value) { m_attributes = value; }
+ inline void SetAttributes(Aws::Vector&& value) { m_attributes = std::move(value); }
+ inline ModifyListenerAttributesResult& WithAttributes(const Aws::Vector& value) { SetAttributes(value); return *this;}
+ inline ModifyListenerAttributesResult& WithAttributes(Aws::Vector&& value) { SetAttributes(std::move(value)); return *this;}
+ inline ModifyListenerAttributesResult& AddAttributes(const ListenerAttribute& value) { m_attributes.push_back(value); return *this; }
+ inline ModifyListenerAttributesResult& AddAttributes(ListenerAttribute&& value) { m_attributes.push_back(std::move(value)); return *this; }
+ ///@}
+
+ ///@{
+
+ inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
+ inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
+ inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
+ inline ModifyListenerAttributesResult& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;}
+ inline ModifyListenerAttributesResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;}
+ ///@}
+ private:
+
+ Aws::Vector m_attributes;
+
+ ResponseMetadata m_responseMetadata;
+ };
+
+} // namespace Model
+} // namespace ElasticLoadBalancingv2
+} // namespace Aws
diff --git a/generated/src/aws-cpp-sdk-elasticloadbalancingv2/include/aws/elasticloadbalancingv2/model/ModifyTargetGroupAttributesRequest.h b/generated/src/aws-cpp-sdk-elasticloadbalancingv2/include/aws/elasticloadbalancingv2/model/ModifyTargetGroupAttributesRequest.h
index 0c7b5598dde..61ec7d77cf5 100644
--- a/generated/src/aws-cpp-sdk-elasticloadbalancingv2/include/aws/elasticloadbalancingv2/model/ModifyTargetGroupAttributesRequest.h
+++ b/generated/src/aws-cpp-sdk-elasticloadbalancingv2/include/aws/elasticloadbalancingv2/model/ModifyTargetGroupAttributesRequest.h
@@ -54,7 +54,7 @@ namespace Model
///@{
/**
- * The attributes.
+ * The target group attributes.
*/
inline const Aws::Vector& GetAttributes() const{ return m_attributes; }
inline bool AttributesHasBeenSet() const { return m_attributesHasBeenSet; }
diff --git a/generated/src/aws-cpp-sdk-elasticloadbalancingv2/include/aws/elasticloadbalancingv2/model/ModifyTargetGroupAttributesResult.h b/generated/src/aws-cpp-sdk-elasticloadbalancingv2/include/aws/elasticloadbalancingv2/model/ModifyTargetGroupAttributesResult.h
index e17cc8cc469..9eb1af9fe8d 100644
--- a/generated/src/aws-cpp-sdk-elasticloadbalancingv2/include/aws/elasticloadbalancingv2/model/ModifyTargetGroupAttributesResult.h
+++ b/generated/src/aws-cpp-sdk-elasticloadbalancingv2/include/aws/elasticloadbalancingv2/model/ModifyTargetGroupAttributesResult.h
@@ -36,7 +36,7 @@ namespace Model
///@{
/**
- * Information about the attributes.
+ * Information about the target group attributes.
*/
inline const Aws::Vector& GetAttributes() const{ return m_attributes; }
inline void SetAttributes(const Aws::Vector& value) { m_attributes = value; }
diff --git a/generated/src/aws-cpp-sdk-elasticloadbalancingv2/source/ElasticLoadBalancingv2Client.cpp b/generated/src/aws-cpp-sdk-elasticloadbalancingv2/source/ElasticLoadBalancingv2Client.cpp
index 15f2e35885a..00074db71b2 100644
--- a/generated/src/aws-cpp-sdk-elasticloadbalancingv2/source/ElasticLoadBalancingv2Client.cpp
+++ b/generated/src/aws-cpp-sdk-elasticloadbalancingv2/source/ElasticLoadBalancingv2Client.cpp
@@ -37,6 +37,7 @@
#include
#include
#include
+#include
#include
#include
#include
@@ -54,6 +55,7 @@
#include
#include
#include
+#include
#include
#include
#include
@@ -649,6 +651,32 @@ DescribeAccountLimitsOutcome ElasticLoadBalancingv2Client::DescribeAccountLimits
{{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}});
}
+DescribeListenerAttributesOutcome ElasticLoadBalancingv2Client::DescribeListenerAttributes(const DescribeListenerAttributesRequest& request) const
+{
+ AWS_OPERATION_GUARD(DescribeListenerAttributes);
+ AWS_OPERATION_CHECK_PTR(m_endpointProvider, DescribeListenerAttributes, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE);
+ AWS_OPERATION_CHECK_PTR(m_telemetryProvider, DescribeListenerAttributes, CoreErrors, CoreErrors::NOT_INITIALIZED);
+ auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {});
+ auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {});
+ AWS_OPERATION_CHECK_PTR(meter, DescribeListenerAttributes, CoreErrors, CoreErrors::NOT_INITIALIZED);
+ auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + "." + request.GetServiceRequestName(),
+ {{ TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName() }, { TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName() }, { TracingUtils::SMITHY_SYSTEM_DIMENSION, TracingUtils::SMITHY_METHOD_AWS_VALUE }},
+ smithy::components::tracing::SpanKind::CLIENT);
+ return TracingUtils::MakeCallWithTiming(
+ [&]()-> DescribeListenerAttributesOutcome {
+ auto endpointResolutionOutcome = TracingUtils::MakeCallWithTiming(
+ [&]() -> ResolveEndpointOutcome { return m_endpointProvider->ResolveEndpoint(request.GetEndpointContextParams()); },
+ TracingUtils::SMITHY_CLIENT_ENDPOINT_RESOLUTION_METRIC,
+ *meter,
+ {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}});
+ AWS_OPERATION_CHECK_SUCCESS(endpointResolutionOutcome, DescribeListenerAttributes, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage());
+ return DescribeListenerAttributesOutcome(MakeRequest(request, endpointResolutionOutcome.GetResult(), Aws::Http::HttpMethod::HTTP_POST));
+ },
+ TracingUtils::SMITHY_CLIENT_DURATION_METRIC,
+ *meter,
+ {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}});
+}
+
DescribeListenerCertificatesOutcome ElasticLoadBalancingv2Client::DescribeListenerCertificates(const DescribeListenerCertificatesRequest& request) const
{
AWS_OPERATION_GUARD(DescribeListenerCertificates);
@@ -1091,6 +1119,32 @@ ModifyListenerOutcome ElasticLoadBalancingv2Client::ModifyListener(const ModifyL
{{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}});
}
+ModifyListenerAttributesOutcome ElasticLoadBalancingv2Client::ModifyListenerAttributes(const ModifyListenerAttributesRequest& request) const
+{
+ AWS_OPERATION_GUARD(ModifyListenerAttributes);
+ AWS_OPERATION_CHECK_PTR(m_endpointProvider, ModifyListenerAttributes, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE);
+ AWS_OPERATION_CHECK_PTR(m_telemetryProvider, ModifyListenerAttributes, CoreErrors, CoreErrors::NOT_INITIALIZED);
+ auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {});
+ auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {});
+ AWS_OPERATION_CHECK_PTR(meter, ModifyListenerAttributes, CoreErrors, CoreErrors::NOT_INITIALIZED);
+ auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + "." + request.GetServiceRequestName(),
+ {{ TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName() }, { TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName() }, { TracingUtils::SMITHY_SYSTEM_DIMENSION, TracingUtils::SMITHY_METHOD_AWS_VALUE }},
+ smithy::components::tracing::SpanKind::CLIENT);
+ return TracingUtils::MakeCallWithTiming(
+ [&]()-> ModifyListenerAttributesOutcome {
+ auto endpointResolutionOutcome = TracingUtils::MakeCallWithTiming(
+ [&]() -> ResolveEndpointOutcome { return m_endpointProvider->ResolveEndpoint(request.GetEndpointContextParams()); },
+ TracingUtils::SMITHY_CLIENT_ENDPOINT_RESOLUTION_METRIC,
+ *meter,
+ {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}});
+ AWS_OPERATION_CHECK_SUCCESS(endpointResolutionOutcome, ModifyListenerAttributes, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage());
+ return ModifyListenerAttributesOutcome(MakeRequest(request, endpointResolutionOutcome.GetResult(), Aws::Http::HttpMethod::HTTP_POST));
+ },
+ TracingUtils::SMITHY_CLIENT_DURATION_METRIC,
+ *meter,
+ {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}});
+}
+
ModifyLoadBalancerAttributesOutcome ElasticLoadBalancingv2Client::ModifyLoadBalancerAttributes(const ModifyLoadBalancerAttributesRequest& request) const
{
AWS_OPERATION_GUARD(ModifyLoadBalancerAttributes);
diff --git a/generated/src/aws-cpp-sdk-elasticloadbalancingv2/source/model/DescribeListenerAttributesRequest.cpp b/generated/src/aws-cpp-sdk-elasticloadbalancingv2/source/model/DescribeListenerAttributesRequest.cpp
new file mode 100644
index 00000000000..e731c18ff74
--- /dev/null
+++ b/generated/src/aws-cpp-sdk-elasticloadbalancingv2/source/model/DescribeListenerAttributesRequest.cpp
@@ -0,0 +1,35 @@
+/**
+ * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ * SPDX-License-Identifier: Apache-2.0.
+ */
+
+#include
+#include
+#include
+
+using namespace Aws::ElasticLoadBalancingv2::Model;
+using namespace Aws::Utils;
+
+DescribeListenerAttributesRequest::DescribeListenerAttributesRequest() :
+ m_listenerArnHasBeenSet(false)
+{
+}
+
+Aws::String DescribeListenerAttributesRequest::SerializePayload() const
+{
+ Aws::StringStream ss;
+ ss << "Action=DescribeListenerAttributes&";
+ if(m_listenerArnHasBeenSet)
+ {
+ ss << "ListenerArn=" << StringUtils::URLEncode(m_listenerArn.c_str()) << "&";
+ }
+
+ ss << "Version=2015-12-01";
+ return ss.str();
+}
+
+
+void DescribeListenerAttributesRequest::DumpBodyToUrl(Aws::Http::URI& uri ) const
+{
+ uri.SetQueryString(SerializePayload());
+}
diff --git a/generated/src/aws-cpp-sdk-elasticloadbalancingv2/source/model/DescribeListenerAttributesResult.cpp b/generated/src/aws-cpp-sdk-elasticloadbalancingv2/source/model/DescribeListenerAttributesResult.cpp
new file mode 100644
index 00000000000..c0ca708acda
--- /dev/null
+++ b/generated/src/aws-cpp-sdk-elasticloadbalancingv2/source/model/DescribeListenerAttributesResult.cpp
@@ -0,0 +1,60 @@
+/**
+ * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ * SPDX-License-Identifier: Apache-2.0.
+ */
+
+#include
+#include
+#include
+#include
+#include
+
+#include
+
+using namespace Aws::ElasticLoadBalancingv2::Model;
+using namespace Aws::Utils::Xml;
+using namespace Aws::Utils::Logging;
+using namespace Aws::Utils;
+using namespace Aws;
+
+DescribeListenerAttributesResult::DescribeListenerAttributesResult()
+{
+}
+
+DescribeListenerAttributesResult::DescribeListenerAttributesResult(const Aws::AmazonWebServiceResult& result)
+{
+ *this = result;
+}
+
+DescribeListenerAttributesResult& DescribeListenerAttributesResult::operator =(const Aws::AmazonWebServiceResult& result)
+{
+ const XmlDocument& xmlDocument = result.GetPayload();
+ XmlNode rootNode = xmlDocument.GetRootElement();
+ XmlNode resultNode = rootNode;
+ if (!rootNode.IsNull() && (rootNode.GetName() != "DescribeListenerAttributesResult"))
+ {
+ resultNode = rootNode.FirstChild("DescribeListenerAttributesResult");
+ }
+
+ if(!resultNode.IsNull())
+ {
+ XmlNode attributesNode = resultNode.FirstChild("Attributes");
+ if(!attributesNode.IsNull())
+ {
+ XmlNode attributesMember = attributesNode.FirstChild("member");
+ while(!attributesMember.IsNull())
+ {
+ m_attributes.push_back(attributesMember);
+ attributesMember = attributesMember.NextNode("member");
+ }
+
+ }
+ }
+
+ if (!rootNode.IsNull()) {
+ XmlNode responseMetadataNode = rootNode.FirstChild("ResponseMetadata");
+ m_responseMetadata = responseMetadataNode;
+ AWS_LOGSTREAM_DEBUG("Aws::ElasticLoadBalancingv2::Model::DescribeListenerAttributesResult", "x-amzn-request-id: " << m_responseMetadata.GetRequestId() );
+ }
+ return *this;
+}
diff --git a/generated/src/aws-cpp-sdk-elasticloadbalancingv2/source/model/ListenerAttribute.cpp b/generated/src/aws-cpp-sdk-elasticloadbalancingv2/source/model/ListenerAttribute.cpp
new file mode 100644
index 00000000000..065a547a845
--- /dev/null
+++ b/generated/src/aws-cpp-sdk-elasticloadbalancingv2/source/model/ListenerAttribute.cpp
@@ -0,0 +1,86 @@
+/**
+ * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ * SPDX-License-Identifier: Apache-2.0.
+ */
+
+#include
+#include
+#include
+#include
+
+#include
+
+using namespace Aws::Utils::Xml;
+using namespace Aws::Utils;
+
+namespace Aws
+{
+namespace ElasticLoadBalancingv2
+{
+namespace Model
+{
+
+ListenerAttribute::ListenerAttribute() :
+ m_keyHasBeenSet(false),
+ m_valueHasBeenSet(false)
+{
+}
+
+ListenerAttribute::ListenerAttribute(const XmlNode& xmlNode)
+ : ListenerAttribute()
+{
+ *this = xmlNode;
+}
+
+ListenerAttribute& ListenerAttribute::operator =(const XmlNode& xmlNode)
+{
+ XmlNode resultNode = xmlNode;
+
+ if(!resultNode.IsNull())
+ {
+ XmlNode keyNode = resultNode.FirstChild("Key");
+ if(!keyNode.IsNull())
+ {
+ m_key = Aws::Utils::Xml::DecodeEscapedXmlText(keyNode.GetText());
+ m_keyHasBeenSet = true;
+ }
+ XmlNode valueNode = resultNode.FirstChild("Value");
+ if(!valueNode.IsNull())
+ {
+ m_value = Aws::Utils::Xml::DecodeEscapedXmlText(valueNode.GetText());
+ m_valueHasBeenSet = true;
+ }
+ }
+
+ return *this;
+}
+
+void ListenerAttribute::OutputToStream(Aws::OStream& oStream, const char* location, unsigned index, const char* locationValue) const
+{
+ if(m_keyHasBeenSet)
+ {
+ oStream << location << index << locationValue << ".Key=" << StringUtils::URLEncode(m_key.c_str()) << "&";
+ }
+
+ if(m_valueHasBeenSet)
+ {
+ oStream << location << index << locationValue << ".Value=" << StringUtils::URLEncode(m_value.c_str()) << "&";
+ }
+
+}
+
+void ListenerAttribute::OutputToStream(Aws::OStream& oStream, const char* location) const
+{
+ if(m_keyHasBeenSet)
+ {
+ oStream << location << ".Key=" << StringUtils::URLEncode(m_key.c_str()) << "&";
+ }
+ if(m_valueHasBeenSet)
+ {
+ oStream << location << ".Value=" << StringUtils::URLEncode(m_value.c_str()) << "&";
+ }
+}
+
+} // namespace Model
+} // namespace ElasticLoadBalancingv2
+} // namespace Aws
diff --git a/generated/src/aws-cpp-sdk-elasticloadbalancingv2/source/model/ModifyListenerAttributesRequest.cpp b/generated/src/aws-cpp-sdk-elasticloadbalancingv2/source/model/ModifyListenerAttributesRequest.cpp
new file mode 100644
index 00000000000..3b08a1291bc
--- /dev/null
+++ b/generated/src/aws-cpp-sdk-elasticloadbalancingv2/source/model/ModifyListenerAttributesRequest.cpp
@@ -0,0 +1,53 @@
+/**
+ * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ * SPDX-License-Identifier: Apache-2.0.
+ */
+
+#include
+#include
+#include
+
+using namespace Aws::ElasticLoadBalancingv2::Model;
+using namespace Aws::Utils;
+
+ModifyListenerAttributesRequest::ModifyListenerAttributesRequest() :
+ m_listenerArnHasBeenSet(false),
+ m_attributesHasBeenSet(false)
+{
+}
+
+Aws::String ModifyListenerAttributesRequest::SerializePayload() const
+{
+ Aws::StringStream ss;
+ ss << "Action=ModifyListenerAttributes&";
+ if(m_listenerArnHasBeenSet)
+ {
+ ss << "ListenerArn=" << StringUtils::URLEncode(m_listenerArn.c_str()) << "&";
+ }
+
+ if(m_attributesHasBeenSet)
+ {
+ if (m_attributes.empty())
+ {
+ ss << "Attributes=&";
+ }
+ else
+ {
+ unsigned attributesCount = 1;
+ for(auto& item : m_attributes)
+ {
+ item.OutputToStream(ss, "Attributes.member.", attributesCount, "");
+ attributesCount++;
+ }
+ }
+ }
+
+ ss << "Version=2015-12-01";
+ return ss.str();
+}
+
+
+void ModifyListenerAttributesRequest::DumpBodyToUrl(Aws::Http::URI& uri ) const
+{
+ uri.SetQueryString(SerializePayload());
+}
diff --git a/generated/src/aws-cpp-sdk-elasticloadbalancingv2/source/model/ModifyListenerAttributesResult.cpp b/generated/src/aws-cpp-sdk-elasticloadbalancingv2/source/model/ModifyListenerAttributesResult.cpp
new file mode 100644
index 00000000000..f998d2c1961
--- /dev/null
+++ b/generated/src/aws-cpp-sdk-elasticloadbalancingv2/source/model/ModifyListenerAttributesResult.cpp
@@ -0,0 +1,60 @@
+/**
+ * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ * SPDX-License-Identifier: Apache-2.0.
+ */
+
+#include
+#include
+#include
+#include
+#include
+
+#include
+
+using namespace Aws::ElasticLoadBalancingv2::Model;
+using namespace Aws::Utils::Xml;
+using namespace Aws::Utils::Logging;
+using namespace Aws::Utils;
+using namespace Aws;
+
+ModifyListenerAttributesResult::ModifyListenerAttributesResult()
+{
+}
+
+ModifyListenerAttributesResult::ModifyListenerAttributesResult(const Aws::AmazonWebServiceResult& result)
+{
+ *this = result;
+}
+
+ModifyListenerAttributesResult& ModifyListenerAttributesResult::operator =(const Aws::AmazonWebServiceResult& result)
+{
+ const XmlDocument& xmlDocument = result.GetPayload();
+ XmlNode rootNode = xmlDocument.GetRootElement();
+ XmlNode resultNode = rootNode;
+ if (!rootNode.IsNull() && (rootNode.GetName() != "ModifyListenerAttributesResult"))
+ {
+ resultNode = rootNode.FirstChild("ModifyListenerAttributesResult");
+ }
+
+ if(!resultNode.IsNull())
+ {
+ XmlNode attributesNode = resultNode.FirstChild("Attributes");
+ if(!attributesNode.IsNull())
+ {
+ XmlNode attributesMember = attributesNode.FirstChild("member");
+ while(!attributesMember.IsNull())
+ {
+ m_attributes.push_back(attributesMember);
+ attributesMember = attributesMember.NextNode("member");
+ }
+
+ }
+ }
+
+ if (!rootNode.IsNull()) {
+ XmlNode responseMetadataNode = rootNode.FirstChild("ResponseMetadata");
+ m_responseMetadata = responseMetadataNode;
+ AWS_LOGSTREAM_DEBUG("Aws::ElasticLoadBalancingv2::Model::ModifyListenerAttributesResult", "x-amzn-request-id: " << m_responseMetadata.GetRequestId() );
+ }
+ return *this;
+}
diff --git a/generated/src/aws-cpp-sdk-mediaconnect/include/aws/mediaconnect/MediaConnectClient.h b/generated/src/aws-cpp-sdk-mediaconnect/include/aws/mediaconnect/MediaConnectClient.h
index d5b2e698bd5..10b73c93569 100644
--- a/generated/src/aws-cpp-sdk-mediaconnect/include/aws/mediaconnect/MediaConnectClient.h
+++ b/generated/src/aws-cpp-sdk-mediaconnect/include/aws/mediaconnect/MediaConnectClient.h
@@ -491,6 +491,32 @@ namespace MediaConnect
return SubmitAsync(&MediaConnectClient::DescribeFlowSourceMetadata, request, handler, context);
}
+ /**
+ * Displays the thumbnail details of a flow's source stream.See Also:
+ * AWS
+ * API Reference
+ */
+ virtual Model::DescribeFlowSourceThumbnailOutcome DescribeFlowSourceThumbnail(const Model::DescribeFlowSourceThumbnailRequest& request) const;
+
+ /**
+ * A Callable wrapper for DescribeFlowSourceThumbnail that returns a future to the operation so that it can be executed in parallel to other requests.
+ */
+ template
+ Model::DescribeFlowSourceThumbnailOutcomeCallable DescribeFlowSourceThumbnailCallable(const DescribeFlowSourceThumbnailRequestT& request) const
+ {
+ return SubmitCallable(&MediaConnectClient::DescribeFlowSourceThumbnail, request);
+ }
+
+ /**
+ * An Async wrapper for DescribeFlowSourceThumbnail that queues the request into a thread executor and triggers associated callback when operation has finished.
+ */
+ template
+ void DescribeFlowSourceThumbnailAsync(const DescribeFlowSourceThumbnailRequestT& request, const DescribeFlowSourceThumbnailResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
+ {
+ return SubmitAsync(&MediaConnectClient::DescribeFlowSourceThumbnail, request, handler, context);
+ }
+
/**
* Displays the details of a gateway. The response includes the gateway ARN, name,
* and CIDR blocks, as well as details about the networks.See Also:
diff --git a/generated/src/aws-cpp-sdk-mediaconnect/include/aws/mediaconnect/MediaConnectServiceClientModel.h b/generated/src/aws-cpp-sdk-mediaconnect/include/aws/mediaconnect/MediaConnectServiceClientModel.h
index 9840f6a5297..ef943b1ab22 100644
--- a/generated/src/aws-cpp-sdk-mediaconnect/include/aws/mediaconnect/MediaConnectServiceClientModel.h
+++ b/generated/src/aws-cpp-sdk-mediaconnect/include/aws/mediaconnect/MediaConnectServiceClientModel.h
@@ -34,6 +34,7 @@
#include
#include
#include
+#include
#include
#include
#include
@@ -131,6 +132,7 @@ namespace Aws
class DescribeBridgeRequest;
class DescribeFlowRequest;
class DescribeFlowSourceMetadataRequest;
+ class DescribeFlowSourceThumbnailRequest;
class DescribeGatewayRequest;
class DescribeGatewayInstanceRequest;
class DescribeOfferingRequest;
@@ -185,6 +187,7 @@ namespace Aws
typedef Aws::Utils::Outcome DescribeBridgeOutcome;
typedef Aws::Utils::Outcome DescribeFlowOutcome;
typedef Aws::Utils::Outcome DescribeFlowSourceMetadataOutcome;
+ typedef Aws::Utils::Outcome DescribeFlowSourceThumbnailOutcome;
typedef Aws::Utils::Outcome DescribeGatewayOutcome;
typedef Aws::Utils::Outcome DescribeGatewayInstanceOutcome;
typedef Aws::Utils::Outcome DescribeOfferingOutcome;
@@ -239,6 +242,7 @@ namespace Aws
typedef std::future DescribeBridgeOutcomeCallable;
typedef std::future DescribeFlowOutcomeCallable;
typedef std::future DescribeFlowSourceMetadataOutcomeCallable;
+ typedef std::future DescribeFlowSourceThumbnailOutcomeCallable;
typedef std::future DescribeGatewayOutcomeCallable;
typedef std::future DescribeGatewayInstanceOutcomeCallable;
typedef std::future DescribeOfferingOutcomeCallable;
@@ -296,6 +300,7 @@ namespace Aws
typedef std::function&) > DescribeBridgeResponseReceivedHandler;
typedef std::function&) > DescribeFlowResponseReceivedHandler;
typedef std::function&) > DescribeFlowSourceMetadataResponseReceivedHandler;
+ typedef std::function&) > DescribeFlowSourceThumbnailResponseReceivedHandler;
typedef std::function&) > DescribeGatewayResponseReceivedHandler;
typedef std::function&) > DescribeGatewayInstanceResponseReceivedHandler;
typedef std::function&) > DescribeOfferingResponseReceivedHandler;
diff --git a/generated/src/aws-cpp-sdk-mediaconnect/include/aws/mediaconnect/model/CreateFlowRequest.h b/generated/src/aws-cpp-sdk-mediaconnect/include/aws/mediaconnect/model/CreateFlowRequest.h
index 1f6488e8431..b1f67af5987 100644
--- a/generated/src/aws-cpp-sdk-mediaconnect/include/aws/mediaconnect/model/CreateFlowRequest.h
+++ b/generated/src/aws-cpp-sdk-mediaconnect/include/aws/mediaconnect/model/CreateFlowRequest.h
@@ -11,6 +11,7 @@
#include
#include
#include
+#include
#include
#include
#include
@@ -172,6 +173,16 @@ namespace Model
inline CreateFlowRequest& WithMaintenance(const AddMaintenance& value) { SetMaintenance(value); return *this;}
inline CreateFlowRequest& WithMaintenance(AddMaintenance&& value) { SetMaintenance(std::move(value)); return *this;}
///@}
+
+ ///@{
+
+ inline const MonitoringConfig& GetSourceMonitoringConfig() const{ return m_sourceMonitoringConfig; }
+ inline bool SourceMonitoringConfigHasBeenSet() const { return m_sourceMonitoringConfigHasBeenSet; }
+ inline void SetSourceMonitoringConfig(const MonitoringConfig& value) { m_sourceMonitoringConfigHasBeenSet = true; m_sourceMonitoringConfig = value; }
+ inline void SetSourceMonitoringConfig(MonitoringConfig&& value) { m_sourceMonitoringConfigHasBeenSet = true; m_sourceMonitoringConfig = std::move(value); }
+ inline CreateFlowRequest& WithSourceMonitoringConfig(const MonitoringConfig& value) { SetSourceMonitoringConfig(value); return *this;}
+ inline CreateFlowRequest& WithSourceMonitoringConfig(MonitoringConfig&& value) { SetSourceMonitoringConfig(std::move(value)); return *this;}
+ ///@}
private:
Aws::String m_availabilityZone;
@@ -203,6 +214,9 @@ namespace Model
AddMaintenance m_maintenance;
bool m_maintenanceHasBeenSet = false;
+
+ MonitoringConfig m_sourceMonitoringConfig;
+ bool m_sourceMonitoringConfigHasBeenSet = false;
};
} // namespace Model
diff --git a/generated/src/aws-cpp-sdk-mediaconnect/include/aws/mediaconnect/model/DescribeFlowSourceThumbnailRequest.h b/generated/src/aws-cpp-sdk-mediaconnect/include/aws/mediaconnect/model/DescribeFlowSourceThumbnailRequest.h
new file mode 100644
index 00000000000..0129c87abc1
--- /dev/null
+++ b/generated/src/aws-cpp-sdk-mediaconnect/include/aws/mediaconnect/model/DescribeFlowSourceThumbnailRequest.h
@@ -0,0 +1,56 @@
+/**
+ * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ * SPDX-License-Identifier: Apache-2.0.
+ */
+
+#pragma once
+#include
+#include
+#include
+#include
+
+namespace Aws
+{
+namespace MediaConnect
+{
+namespace Model
+{
+
+ /**
+ */
+ class DescribeFlowSourceThumbnailRequest : public MediaConnectRequest
+ {
+ public:
+ AWS_MEDIACONNECT_API DescribeFlowSourceThumbnailRequest();
+
+ // Service request name is the Operation name which will send this request out,
+ // each operation should has unique request name, so that we can get operation's name from this request.
+ // Note: this is not true for response, multiple operations may have the same response name,
+ // so we can not get operation's name from response.
+ inline virtual const char* GetServiceRequestName() const override { return "DescribeFlowSourceThumbnail"; }
+
+ AWS_MEDIACONNECT_API Aws::String SerializePayload() const override;
+
+
+ ///@{
+ /**
+ * The Amazon Resource Name (ARN) of the flow.
+ */
+ inline const Aws::String& GetFlowArn() const{ return m_flowArn; }
+ inline bool FlowArnHasBeenSet() const { return m_flowArnHasBeenSet; }
+ inline void SetFlowArn(const Aws::String& value) { m_flowArnHasBeenSet = true; m_flowArn = value; }
+ inline void SetFlowArn(Aws::String&& value) { m_flowArnHasBeenSet = true; m_flowArn = std::move(value); }
+ inline void SetFlowArn(const char* value) { m_flowArnHasBeenSet = true; m_flowArn.assign(value); }
+ inline DescribeFlowSourceThumbnailRequest& WithFlowArn(const Aws::String& value) { SetFlowArn(value); return *this;}
+ inline DescribeFlowSourceThumbnailRequest& WithFlowArn(Aws::String&& value) { SetFlowArn(std::move(value)); return *this;}
+ inline DescribeFlowSourceThumbnailRequest& WithFlowArn(const char* value) { SetFlowArn(value); return *this;}
+ ///@}
+ private:
+
+ Aws::String m_flowArn;
+ bool m_flowArnHasBeenSet = false;
+ };
+
+} // namespace Model
+} // namespace MediaConnect
+} // namespace Aws
diff --git a/generated/src/aws-cpp-sdk-mediaconnect/include/aws/mediaconnect/model/DescribeFlowSourceThumbnailResult.h b/generated/src/aws-cpp-sdk-mediaconnect/include/aws/mediaconnect/model/DescribeFlowSourceThumbnailResult.h
new file mode 100644
index 00000000000..4f01c5ea103
--- /dev/null
+++ b/generated/src/aws-cpp-sdk-mediaconnect/include/aws/mediaconnect/model/DescribeFlowSourceThumbnailResult.h
@@ -0,0 +1,64 @@
+/**
+ * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ * SPDX-License-Identifier: Apache-2.0.
+ */
+
+#pragma once
+#include
+#include
+#include
+#include
+
+namespace Aws
+{
+template
+class AmazonWebServiceResult;
+
+namespace Utils
+{
+namespace Json
+{
+ class JsonValue;
+} // namespace Json
+} // namespace Utils
+namespace MediaConnect
+{
+namespace Model
+{
+ class DescribeFlowSourceThumbnailResult
+ {
+ public:
+ AWS_MEDIACONNECT_API DescribeFlowSourceThumbnailResult();
+ AWS_MEDIACONNECT_API DescribeFlowSourceThumbnailResult(const Aws::AmazonWebServiceResult& result);
+ AWS_MEDIACONNECT_API DescribeFlowSourceThumbnailResult& operator=(const Aws::AmazonWebServiceResult& result);
+
+
+ ///@{
+
+ inline const ThumbnailDetails& GetThumbnailDetails() const{ return m_thumbnailDetails; }
+ inline void SetThumbnailDetails(const ThumbnailDetails& value) { m_thumbnailDetails = value; }
+ inline void SetThumbnailDetails(ThumbnailDetails&& value) { m_thumbnailDetails = std::move(value); }
+ inline DescribeFlowSourceThumbnailResult& WithThumbnailDetails(const ThumbnailDetails& value) { SetThumbnailDetails(value); return *this;}
+ inline DescribeFlowSourceThumbnailResult& WithThumbnailDetails(ThumbnailDetails&& value) { SetThumbnailDetails(std::move(value)); return *this;}
+ ///@}
+
+ ///@{
+
+ inline const Aws::String& GetRequestId() const{ return m_requestId; }
+ inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
+ inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
+ inline void SetRequestId(const char* value) { m_requestId.assign(value); }
+ inline DescribeFlowSourceThumbnailResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
+ inline DescribeFlowSourceThumbnailResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
+ inline DescribeFlowSourceThumbnailResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
+ ///@}
+ private:
+
+ ThumbnailDetails m_thumbnailDetails;
+
+ Aws::String m_requestId;
+ };
+
+} // namespace Model
+} // namespace MediaConnect
+} // namespace Aws
diff --git a/generated/src/aws-cpp-sdk-mediaconnect/include/aws/mediaconnect/model/Flow.h b/generated/src/aws-cpp-sdk-mediaconnect/include/aws/mediaconnect/model/Flow.h
index 218ba6d941c..c84e8cdabde 100644
--- a/generated/src/aws-cpp-sdk-mediaconnect/include/aws/mediaconnect/model/Flow.h
+++ b/generated/src/aws-cpp-sdk-mediaconnect/include/aws/mediaconnect/model/Flow.h
@@ -11,6 +11,7 @@
#include
#include
#include
+#include
#include
#include
#include
@@ -229,6 +230,16 @@ namespace Model
inline Flow& WithMaintenance(const Maintenance& value) { SetMaintenance(value); return *this;}
inline Flow& WithMaintenance(Maintenance&& value) { SetMaintenance(std::move(value)); return *this;}
///@}
+
+ ///@{
+
+ inline const MonitoringConfig& GetSourceMonitoringConfig() const{ return m_sourceMonitoringConfig; }
+ inline bool SourceMonitoringConfigHasBeenSet() const { return m_sourceMonitoringConfigHasBeenSet; }
+ inline void SetSourceMonitoringConfig(const MonitoringConfig& value) { m_sourceMonitoringConfigHasBeenSet = true; m_sourceMonitoringConfig = value; }
+ inline void SetSourceMonitoringConfig(MonitoringConfig&& value) { m_sourceMonitoringConfigHasBeenSet = true; m_sourceMonitoringConfig = std::move(value); }
+ inline Flow& WithSourceMonitoringConfig(const MonitoringConfig& value) { SetSourceMonitoringConfig(value); return *this;}
+ inline Flow& WithSourceMonitoringConfig(MonitoringConfig&& value) { SetSourceMonitoringConfig(std::move(value)); return *this;}
+ ///@}
private:
Aws::String m_availabilityZone;
@@ -272,6 +283,9 @@ namespace Model
Maintenance m_maintenance;
bool m_maintenanceHasBeenSet = false;
+
+ MonitoringConfig m_sourceMonitoringConfig;
+ bool m_sourceMonitoringConfigHasBeenSet = false;
};
} // namespace Model
diff --git a/generated/src/aws-cpp-sdk-mediaconnect/include/aws/mediaconnect/model/MonitoringConfig.h b/generated/src/aws-cpp-sdk-mediaconnect/include/aws/mediaconnect/model/MonitoringConfig.h
new file mode 100644
index 00000000000..e3b2a5b4ee8
--- /dev/null
+++ b/generated/src/aws-cpp-sdk-mediaconnect/include/aws/mediaconnect/model/MonitoringConfig.h
@@ -0,0 +1,59 @@
+/**
+ * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ * SPDX-License-Identifier: Apache-2.0.
+ */
+
+#pragma once
+#include
+#include
+#include
+
+namespace Aws
+{
+namespace Utils
+{
+namespace Json
+{
+ class JsonValue;
+ class JsonView;
+} // namespace Json
+} // namespace Utils
+namespace MediaConnect
+{
+namespace Model
+{
+
+ /**
+ * The settings for source monitoring.See Also:
AWS
+ * API Reference
+ */
+ class MonitoringConfig
+ {
+ public:
+ AWS_MEDIACONNECT_API MonitoringConfig();
+ AWS_MEDIACONNECT_API MonitoringConfig(Aws::Utils::Json::JsonView jsonValue);
+ AWS_MEDIACONNECT_API MonitoringConfig& operator=(Aws::Utils::Json::JsonView jsonValue);
+ AWS_MEDIACONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
+
+
+ ///@{
+ /**
+ * The state of thumbnail monitoring.
+ */
+ inline const ThumbnailState& GetThumbnailState() const{ return m_thumbnailState; }
+ inline bool ThumbnailStateHasBeenSet() const { return m_thumbnailStateHasBeenSet; }
+ inline void SetThumbnailState(const ThumbnailState& value) { m_thumbnailStateHasBeenSet = true; m_thumbnailState = value; }
+ inline void SetThumbnailState(ThumbnailState&& value) { m_thumbnailStateHasBeenSet = true; m_thumbnailState = std::move(value); }
+ inline MonitoringConfig& WithThumbnailState(const ThumbnailState& value) { SetThumbnailState(value); return *this;}
+ inline MonitoringConfig& WithThumbnailState(ThumbnailState&& value) { SetThumbnailState(std::move(value)); return *this;}
+ ///@}
+ private:
+
+ ThumbnailState m_thumbnailState;
+ bool m_thumbnailStateHasBeenSet = false;
+ };
+
+} // namespace Model
+} // namespace MediaConnect
+} // namespace Aws
diff --git a/generated/src/aws-cpp-sdk-mediaconnect/include/aws/mediaconnect/model/ThumbnailDetails.h b/generated/src/aws-cpp-sdk-mediaconnect/include/aws/mediaconnect/model/ThumbnailDetails.h
new file mode 100644
index 00000000000..085fad01986
--- /dev/null
+++ b/generated/src/aws-cpp-sdk-mediaconnect/include/aws/mediaconnect/model/ThumbnailDetails.h
@@ -0,0 +1,131 @@
+/**
+ * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ * SPDX-License-Identifier: Apache-2.0.
+ */
+
+#pragma once
+#include
+#include
+#include
+#include
+#include
+#include
+
+namespace Aws
+{
+namespace Utils
+{
+namespace Json
+{
+ class JsonValue;
+ class JsonView;
+} // namespace Json
+} // namespace Utils
+namespace MediaConnect
+{
+namespace Model
+{
+
+ /**
+ * The details of the thumbnail, including thumbnail base64 string, timecode and
+ * the time when thumbnail was generated.See Also:
AWS
+ * API Reference
+ */
+ class ThumbnailDetails
+ {
+ public:
+ AWS_MEDIACONNECT_API ThumbnailDetails();
+ AWS_MEDIACONNECT_API ThumbnailDetails(Aws::Utils::Json::JsonView jsonValue);
+ AWS_MEDIACONNECT_API ThumbnailDetails& operator=(Aws::Utils::Json::JsonView jsonValue);
+ AWS_MEDIACONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
+
+
+ ///@{
+ /**
+ * The ARN of the flow that DescribeFlowSourceThumbnail was performed on.
+ */
+ inline const Aws::String& GetFlowArn() const{ return m_flowArn; }
+ inline bool FlowArnHasBeenSet() const { return m_flowArnHasBeenSet; }
+ inline void SetFlowArn(const Aws::String& value) { m_flowArnHasBeenSet = true; m_flowArn = value; }
+ inline void SetFlowArn(Aws::String&& value) { m_flowArnHasBeenSet = true; m_flowArn = std::move(value); }
+ inline void SetFlowArn(const char* value) { m_flowArnHasBeenSet = true; m_flowArn.assign(value); }
+ inline ThumbnailDetails& WithFlowArn(const Aws::String& value) { SetFlowArn(value); return *this;}
+ inline ThumbnailDetails& WithFlowArn(Aws::String&& value) { SetFlowArn(std::move(value)); return *this;}
+ inline ThumbnailDetails& WithFlowArn(const char* value) { SetFlowArn(value); return *this;}
+ ///@}
+
+ ///@{
+ /**
+ * Thumbnail Base64 string.
+ */
+ inline const Aws::String& GetThumbnail() const{ return m_thumbnail; }
+ inline bool ThumbnailHasBeenSet() const { return m_thumbnailHasBeenSet; }
+ inline void SetThumbnail(const Aws::String& value) { m_thumbnailHasBeenSet = true; m_thumbnail = value; }
+ inline void SetThumbnail(Aws::String&& value) { m_thumbnailHasBeenSet = true; m_thumbnail = std::move(value); }
+ inline void SetThumbnail(const char* value) { m_thumbnailHasBeenSet = true; m_thumbnail.assign(value); }
+ inline ThumbnailDetails& WithThumbnail(const Aws::String& value) { SetThumbnail(value); return *this;}
+ inline ThumbnailDetails& WithThumbnail(Aws::String&& value) { SetThumbnail(std::move(value)); return *this;}
+ inline ThumbnailDetails& WithThumbnail(const char* value) { SetThumbnail(value); return *this;}
+ ///@}
+
+ ///@{
+ /**
+ * Status code and messages about the flow source thumbnail.
+ */
+ inline const Aws::Vector& GetThumbnailMessages() const{ return m_thumbnailMessages; }
+ inline bool ThumbnailMessagesHasBeenSet() const { return m_thumbnailMessagesHasBeenSet; }
+ inline void SetThumbnailMessages(const Aws::Vector& value) { m_thumbnailMessagesHasBeenSet = true; m_thumbnailMessages = value; }
+ inline void SetThumbnailMessages(Aws::Vector&& value) { m_thumbnailMessagesHasBeenSet = true; m_thumbnailMessages = std::move(value); }
+ inline ThumbnailDetails& WithThumbnailMessages(const Aws::Vector& value) { SetThumbnailMessages(value); return *this;}
+ inline ThumbnailDetails& WithThumbnailMessages(Aws::Vector&& value) { SetThumbnailMessages(std::move(value)); return *this;}
+ inline ThumbnailDetails& AddThumbnailMessages(const MessageDetail& value) { m_thumbnailMessagesHasBeenSet = true; m_thumbnailMessages.push_back(value); return *this; }
+ inline ThumbnailDetails& AddThumbnailMessages(MessageDetail&& value) { m_thumbnailMessagesHasBeenSet = true; m_thumbnailMessages.push_back(std::move(value)); return *this; }
+ ///@}
+
+ ///@{
+ /**
+ * Timecode of thumbnail.
+ */
+ inline const Aws::String& GetTimecode() const{ return m_timecode; }
+ inline bool TimecodeHasBeenSet() const { return m_timecodeHasBeenSet; }
+ inline void SetTimecode(const Aws::String& value) { m_timecodeHasBeenSet = true; m_timecode = value; }
+ inline void SetTimecode(Aws::String&& value) { m_timecodeHasBeenSet = true; m_timecode = std::move(value); }
+ inline void SetTimecode(const char* value) { m_timecodeHasBeenSet = true; m_timecode.assign(value); }
+ inline ThumbnailDetails& WithTimecode(const Aws::String& value) { SetTimecode(value); return *this;}
+ inline ThumbnailDetails& WithTimecode(Aws::String&& value) { SetTimecode(std::move(value)); return *this;}
+ inline ThumbnailDetails& WithTimecode(const char* value) { SetTimecode(value); return *this;}
+ ///@}
+
+ ///@{
+ /**
+ * The timestamp of when thumbnail was generated.
+ */
+ inline const Aws::Utils::DateTime& GetTimestamp() const{ return m_timestamp; }
+ inline bool TimestampHasBeenSet() const { return m_timestampHasBeenSet; }
+ inline void SetTimestamp(const Aws::Utils::DateTime& value) { m_timestampHasBeenSet = true; m_timestamp = value; }
+ inline void SetTimestamp(Aws::Utils::DateTime&& value) { m_timestampHasBeenSet = true; m_timestamp = std::move(value); }
+ inline ThumbnailDetails& WithTimestamp(const Aws::Utils::DateTime& value) { SetTimestamp(value); return *this;}
+ inline ThumbnailDetails& WithTimestamp(Aws::Utils::DateTime&& value) { SetTimestamp(std::move(value)); return *this;}
+ ///@}
+ private:
+
+ Aws::String m_flowArn;
+ bool m_flowArnHasBeenSet = false;
+
+ Aws::String m_thumbnail;
+ bool m_thumbnailHasBeenSet = false;
+
+ Aws::Vector m_thumbnailMessages;
+ bool m_thumbnailMessagesHasBeenSet = false;
+
+ Aws::String m_timecode;
+ bool m_timecodeHasBeenSet = false;
+
+ Aws::Utils::DateTime m_timestamp;
+ bool m_timestampHasBeenSet = false;
+ };
+
+} // namespace Model
+} // namespace MediaConnect
+} // namespace Aws
diff --git a/generated/src/aws-cpp-sdk-mediaconnect/include/aws/mediaconnect/model/ThumbnailState.h b/generated/src/aws-cpp-sdk-mediaconnect/include/aws/mediaconnect/model/ThumbnailState.h
new file mode 100644
index 00000000000..391fd36cd8c
--- /dev/null
+++ b/generated/src/aws-cpp-sdk-mediaconnect/include/aws/mediaconnect/model/ThumbnailState.h
@@ -0,0 +1,31 @@
+/**
+ * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ * SPDX-License-Identifier: Apache-2.0.
+ */
+
+#pragma once
+#include
+#include
+
+namespace Aws
+{
+namespace MediaConnect
+{
+namespace Model
+{
+ enum class ThumbnailState
+ {
+ NOT_SET,
+ ENABLED,
+ DISABLED
+ };
+
+namespace ThumbnailStateMapper
+{
+AWS_MEDIACONNECT_API ThumbnailState GetThumbnailStateForName(const Aws::String& name);
+
+AWS_MEDIACONNECT_API Aws::String GetNameForThumbnailState(ThumbnailState value);
+} // namespace ThumbnailStateMapper
+} // namespace Model
+} // namespace MediaConnect
+} // namespace Aws
diff --git a/generated/src/aws-cpp-sdk-mediaconnect/include/aws/mediaconnect/model/UpdateFlowRequest.h b/generated/src/aws-cpp-sdk-mediaconnect/include/aws/mediaconnect/model/UpdateFlowRequest.h
index 990b54db053..a36a2643007 100644
--- a/generated/src/aws-cpp-sdk-mediaconnect/include/aws/mediaconnect/model/UpdateFlowRequest.h
+++ b/generated/src/aws-cpp-sdk-mediaconnect/include/aws/mediaconnect/model/UpdateFlowRequest.h
@@ -9,6 +9,7 @@
#include
#include
#include
+#include
#include
namespace Aws
@@ -70,6 +71,16 @@ namespace Model
inline UpdateFlowRequest& WithMaintenance(const UpdateMaintenance& value) { SetMaintenance(value); return *this;}
inline UpdateFlowRequest& WithMaintenance(UpdateMaintenance&& value) { SetMaintenance(std::move(value)); return *this;}
///@}
+
+ ///@{
+
+ inline const MonitoringConfig& GetSourceMonitoringConfig() const{ return m_sourceMonitoringConfig; }
+ inline bool SourceMonitoringConfigHasBeenSet() const { return m_sourceMonitoringConfigHasBeenSet; }
+ inline void SetSourceMonitoringConfig(const MonitoringConfig& value) { m_sourceMonitoringConfigHasBeenSet = true; m_sourceMonitoringConfig = value; }
+ inline void SetSourceMonitoringConfig(MonitoringConfig&& value) { m_sourceMonitoringConfigHasBeenSet = true; m_sourceMonitoringConfig = std::move(value); }
+ inline UpdateFlowRequest& WithSourceMonitoringConfig(const MonitoringConfig& value) { SetSourceMonitoringConfig(value); return *this;}
+ inline UpdateFlowRequest& WithSourceMonitoringConfig(MonitoringConfig&& value) { SetSourceMonitoringConfig(std::move(value)); return *this;}
+ ///@}
private:
Aws::String m_flowArn;
@@ -80,6 +91,9 @@ namespace Model
UpdateMaintenance m_maintenance;
bool m_maintenanceHasBeenSet = false;
+
+ MonitoringConfig m_sourceMonitoringConfig;
+ bool m_sourceMonitoringConfigHasBeenSet = false;
};
} // namespace Model
diff --git a/generated/src/aws-cpp-sdk-mediaconnect/source/MediaConnectClient.cpp b/generated/src/aws-cpp-sdk-mediaconnect/source/MediaConnectClient.cpp
index eadb2910daf..1b85a989dd5 100644
--- a/generated/src/aws-cpp-sdk-mediaconnect/source/MediaConnectClient.cpp
+++ b/generated/src/aws-cpp-sdk-mediaconnect/source/MediaConnectClient.cpp
@@ -37,6 +37,7 @@
#include
#include
#include
+#include
#include
#include
#include
@@ -732,6 +733,40 @@ DescribeFlowSourceMetadataOutcome MediaConnectClient::DescribeFlowSourceMetadata
{{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}});
}
+DescribeFlowSourceThumbnailOutcome MediaConnectClient::DescribeFlowSourceThumbnail(const DescribeFlowSourceThumbnailRequest& request) const
+{
+ AWS_OPERATION_GUARD(DescribeFlowSourceThumbnail);
+ AWS_OPERATION_CHECK_PTR(m_endpointProvider, DescribeFlowSourceThumbnail, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE);
+ if (!request.FlowArnHasBeenSet())
+ {
+ AWS_LOGSTREAM_ERROR("DescribeFlowSourceThumbnail", "Required field: FlowArn, is not set");
+ return DescribeFlowSourceThumbnailOutcome(Aws::Client::AWSError(MediaConnectErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [FlowArn]", false));
+ }
+ AWS_OPERATION_CHECK_PTR(m_telemetryProvider, DescribeFlowSourceThumbnail, CoreErrors, CoreErrors::NOT_INITIALIZED);
+ auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {});
+ auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {});
+ AWS_OPERATION_CHECK_PTR(meter, DescribeFlowSourceThumbnail, CoreErrors, CoreErrors::NOT_INITIALIZED);
+ auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".DescribeFlowSourceThumbnail",
+ {{ TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName() }, { TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName() }, { TracingUtils::SMITHY_SYSTEM_DIMENSION, TracingUtils::SMITHY_METHOD_AWS_VALUE }},
+ smithy::components::tracing::SpanKind::CLIENT);
+ return TracingUtils::MakeCallWithTiming(
+ [&]()-> DescribeFlowSourceThumbnailOutcome {
+ auto endpointResolutionOutcome = TracingUtils::MakeCallWithTiming(
+ [&]() -> ResolveEndpointOutcome { return m_endpointProvider->ResolveEndpoint(request.GetEndpointContextParams()); },
+ TracingUtils::SMITHY_CLIENT_ENDPOINT_RESOLUTION_METRIC,
+ *meter,
+ {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}});
+ AWS_OPERATION_CHECK_SUCCESS(endpointResolutionOutcome, DescribeFlowSourceThumbnail, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage());
+ endpointResolutionOutcome.GetResult().AddPathSegments("/v1/flows/");
+ endpointResolutionOutcome.GetResult().AddPathSegment(request.GetFlowArn());
+ endpointResolutionOutcome.GetResult().AddPathSegments("/source-thumbnail");
+ return DescribeFlowSourceThumbnailOutcome(MakeRequest(request, endpointResolutionOutcome.GetResult(), Aws::Http::HttpMethod::HTTP_GET, Aws::Auth::SIGV4_SIGNER));
+ },
+ TracingUtils::SMITHY_CLIENT_DURATION_METRIC,
+ *meter,
+ {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}});
+}
+
DescribeGatewayOutcome MediaConnectClient::DescribeGateway(const DescribeGatewayRequest& request) const
{
AWS_OPERATION_GUARD(DescribeGateway);
diff --git a/generated/src/aws-cpp-sdk-mediaconnect/source/model/CreateFlowRequest.cpp b/generated/src/aws-cpp-sdk-mediaconnect/source/model/CreateFlowRequest.cpp
index 135823857c2..69b8e3b456b 100644
--- a/generated/src/aws-cpp-sdk-mediaconnect/source/model/CreateFlowRequest.cpp
+++ b/generated/src/aws-cpp-sdk-mediaconnect/source/model/CreateFlowRequest.cpp
@@ -22,7 +22,8 @@ CreateFlowRequest::CreateFlowRequest() :
m_sourceFailoverConfigHasBeenSet(false),
m_sourcesHasBeenSet(false),
m_vpcInterfacesHasBeenSet(false),
- m_maintenanceHasBeenSet(false)
+ m_maintenanceHasBeenSet(false),
+ m_sourceMonitoringConfigHasBeenSet(false)
{
}
@@ -115,6 +116,12 @@ Aws::String CreateFlowRequest::SerializePayload() const
}
+ if(m_sourceMonitoringConfigHasBeenSet)
+ {
+ payload.WithObject("sourceMonitoringConfig", m_sourceMonitoringConfig.Jsonize());
+
+ }
+
return payload.View().WriteReadable();
}
diff --git a/generated/src/aws-cpp-sdk-mediaconnect/source/model/DescribeFlowSourceThumbnailRequest.cpp b/generated/src/aws-cpp-sdk-mediaconnect/source/model/DescribeFlowSourceThumbnailRequest.cpp
new file mode 100644
index 00000000000..50677554e83
--- /dev/null
+++ b/generated/src/aws-cpp-sdk-mediaconnect/source/model/DescribeFlowSourceThumbnailRequest.cpp
@@ -0,0 +1,27 @@
+/**
+ * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ * SPDX-License-Identifier: Apache-2.0.
+ */
+
+#include
+#include
+
+#include
+
+using namespace Aws::MediaConnect::Model;
+using namespace Aws::Utils::Json;
+using namespace Aws::Utils;
+
+DescribeFlowSourceThumbnailRequest::DescribeFlowSourceThumbnailRequest() :
+ m_flowArnHasBeenSet(false)
+{
+}
+
+Aws::String DescribeFlowSourceThumbnailRequest::SerializePayload() const
+{
+ return {};
+}
+
+
+
+
diff --git a/generated/src/aws-cpp-sdk-mediaconnect/source/model/DescribeFlowSourceThumbnailResult.cpp b/generated/src/aws-cpp-sdk-mediaconnect/source/model/DescribeFlowSourceThumbnailResult.cpp
new file mode 100644
index 00000000000..0bc5709d788
--- /dev/null
+++ b/generated/src/aws-cpp-sdk-mediaconnect/source/model/DescribeFlowSourceThumbnailResult.cpp
@@ -0,0 +1,48 @@
+/**
+ * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ * SPDX-License-Identifier: Apache-2.0.
+ */
+
+#include
+#include
+#include
+#include
+#include
+#include
+
+#include
+
+using namespace Aws::MediaConnect::Model;
+using namespace Aws::Utils::Json;
+using namespace Aws::Utils;
+using namespace Aws;
+
+DescribeFlowSourceThumbnailResult::DescribeFlowSourceThumbnailResult()
+{
+}
+
+DescribeFlowSourceThumbnailResult::DescribeFlowSourceThumbnailResult(const Aws::AmazonWebServiceResult& result)
+{
+ *this = result;
+}
+
+DescribeFlowSourceThumbnailResult& DescribeFlowSourceThumbnailResult::operator =(const Aws::AmazonWebServiceResult& result)
+{
+ JsonView jsonValue = result.GetPayload().View();
+ if(jsonValue.ValueExists("thumbnailDetails"))
+ {
+ m_thumbnailDetails = jsonValue.GetObject("thumbnailDetails");
+
+ }
+
+
+ const auto& headers = result.GetHeaderValueCollection();
+ const auto& requestIdIter = headers.find("x-amzn-requestid");
+ if(requestIdIter != headers.end())
+ {
+ m_requestId = requestIdIter->second;
+ }
+
+
+ return *this;
+}
diff --git a/generated/src/aws-cpp-sdk-mediaconnect/source/model/Flow.cpp b/generated/src/aws-cpp-sdk-mediaconnect/source/model/Flow.cpp
index 762bda290df..ee990402982 100644
--- a/generated/src/aws-cpp-sdk-mediaconnect/source/model/Flow.cpp
+++ b/generated/src/aws-cpp-sdk-mediaconnect/source/model/Flow.cpp
@@ -33,7 +33,8 @@ Flow::Flow() :
m_status(Status::NOT_SET),
m_statusHasBeenSet(false),
m_vpcInterfacesHasBeenSet(false),
- m_maintenanceHasBeenSet(false)
+ m_maintenanceHasBeenSet(false),
+ m_sourceMonitoringConfigHasBeenSet(false)
{
}
@@ -158,6 +159,13 @@ Flow& Flow::operator =(JsonView jsonValue)
m_maintenanceHasBeenSet = true;
}
+ if(jsonValue.ValueExists("sourceMonitoringConfig"))
+ {
+ m_sourceMonitoringConfig = jsonValue.GetObject("sourceMonitoringConfig");
+
+ m_sourceMonitoringConfigHasBeenSet = true;
+ }
+
return *this;
}
@@ -273,6 +281,12 @@ JsonValue Flow::Jsonize() const
}
+ if(m_sourceMonitoringConfigHasBeenSet)
+ {
+ payload.WithObject("sourceMonitoringConfig", m_sourceMonitoringConfig.Jsonize());
+
+ }
+
return payload;
}
diff --git a/generated/src/aws-cpp-sdk-mediaconnect/source/model/MonitoringConfig.cpp b/generated/src/aws-cpp-sdk-mediaconnect/source/model/MonitoringConfig.cpp
new file mode 100644
index 00000000000..039257635c7
--- /dev/null
+++ b/generated/src/aws-cpp-sdk-mediaconnect/source/model/MonitoringConfig.cpp
@@ -0,0 +1,59 @@
+/**
+ * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ * SPDX-License-Identifier: Apache-2.0.
+ */
+
+#include
+#include
+
+#include
+
+using namespace Aws::Utils::Json;
+using namespace Aws::Utils;
+
+namespace Aws
+{
+namespace MediaConnect
+{
+namespace Model
+{
+
+MonitoringConfig::MonitoringConfig() :
+ m_thumbnailState(ThumbnailState::NOT_SET),
+ m_thumbnailStateHasBeenSet(false)
+{
+}
+
+MonitoringConfig::MonitoringConfig(JsonView jsonValue)
+ : MonitoringConfig()
+{
+ *this = jsonValue;
+}
+
+MonitoringConfig& MonitoringConfig::operator =(JsonView jsonValue)
+{
+ if(jsonValue.ValueExists("thumbnailState"))
+ {
+ m_thumbnailState = ThumbnailStateMapper::GetThumbnailStateForName(jsonValue.GetString("thumbnailState"));
+
+ m_thumbnailStateHasBeenSet = true;
+ }
+
+ return *this;
+}
+
+JsonValue MonitoringConfig::Jsonize() const
+{
+ JsonValue payload;
+
+ if(m_thumbnailStateHasBeenSet)
+ {
+ payload.WithString("thumbnailState", ThumbnailStateMapper::GetNameForThumbnailState(m_thumbnailState));
+ }
+
+ return payload;
+}
+
+} // namespace Model
+} // namespace MediaConnect
+} // namespace Aws
diff --git a/generated/src/aws-cpp-sdk-mediaconnect/source/model/ThumbnailDetails.cpp b/generated/src/aws-cpp-sdk-mediaconnect/source/model/ThumbnailDetails.cpp
new file mode 100644
index 00000000000..4445aa3bc03
--- /dev/null
+++ b/generated/src/aws-cpp-sdk-mediaconnect/source/model/ThumbnailDetails.cpp
@@ -0,0 +1,122 @@
+/**
+ * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ * SPDX-License-Identifier: Apache-2.0.
+ */
+
+#include
+#include
+
+#include
+
+using namespace Aws::Utils::Json;
+using namespace Aws::Utils;
+
+namespace Aws
+{
+namespace MediaConnect
+{
+namespace Model
+{
+
+ThumbnailDetails::ThumbnailDetails() :
+ m_flowArnHasBeenSet(false),
+ m_thumbnailHasBeenSet(false),
+ m_thumbnailMessagesHasBeenSet(false),
+ m_timecodeHasBeenSet(false),
+ m_timestampHasBeenSet(false)
+{
+}
+
+ThumbnailDetails::ThumbnailDetails(JsonView jsonValue)
+ : ThumbnailDetails()
+{
+ *this = jsonValue;
+}
+
+ThumbnailDetails& ThumbnailDetails::operator =(JsonView jsonValue)
+{
+ if(jsonValue.ValueExists("flowArn"))
+ {
+ m_flowArn = jsonValue.GetString("flowArn");
+
+ m_flowArnHasBeenSet = true;
+ }
+
+ if(jsonValue.ValueExists("thumbnail"))
+ {
+ m_thumbnail = jsonValue.GetString("thumbnail");
+
+ m_thumbnailHasBeenSet = true;
+ }
+
+ if(jsonValue.ValueExists("thumbnailMessages"))
+ {
+ Aws::Utils::Array thumbnailMessagesJsonList = jsonValue.GetArray("thumbnailMessages");
+ for(unsigned thumbnailMessagesIndex = 0; thumbnailMessagesIndex < thumbnailMessagesJsonList.GetLength(); ++thumbnailMessagesIndex)
+ {
+ m_thumbnailMessages.push_back(thumbnailMessagesJsonList[thumbnailMessagesIndex].AsObject());
+ }
+ m_thumbnailMessagesHasBeenSet = true;
+ }
+
+ if(jsonValue.ValueExists("timecode"))
+ {
+ m_timecode = jsonValue.GetString("timecode");
+
+ m_timecodeHasBeenSet = true;
+ }
+
+ if(jsonValue.ValueExists("timestamp"))
+ {
+ m_timestamp = jsonValue.GetString("timestamp");
+
+ m_timestampHasBeenSet = true;
+ }
+
+ return *this;
+}
+
+JsonValue ThumbnailDetails::Jsonize() const
+{
+ JsonValue payload;
+
+ if(m_flowArnHasBeenSet)
+ {
+ payload.WithString("flowArn", m_flowArn);
+
+ }
+
+ if(m_thumbnailHasBeenSet)
+ {
+ payload.WithString("thumbnail", m_thumbnail);
+
+ }
+
+ if(m_thumbnailMessagesHasBeenSet)
+ {
+ Aws::Utils::Array thumbnailMessagesJsonList(m_thumbnailMessages.size());
+ for(unsigned thumbnailMessagesIndex = 0; thumbnailMessagesIndex < thumbnailMessagesJsonList.GetLength(); ++thumbnailMessagesIndex)
+ {
+ thumbnailMessagesJsonList[thumbnailMessagesIndex].AsObject(m_thumbnailMessages[thumbnailMessagesIndex].Jsonize());
+ }
+ payload.WithArray("thumbnailMessages", std::move(thumbnailMessagesJsonList));
+
+ }
+
+ if(m_timecodeHasBeenSet)
+ {
+ payload.WithString("timecode", m_timecode);
+
+ }
+
+ if(m_timestampHasBeenSet)
+ {
+ payload.WithString("timestamp", m_timestamp.ToGmtString(Aws::Utils::DateFormat::ISO_8601));
+ }
+
+ return payload;
+}
+
+} // namespace Model
+} // namespace MediaConnect
+} // namespace Aws
diff --git a/generated/src/aws-cpp-sdk-mediaconnect/source/model/ThumbnailState.cpp b/generated/src/aws-cpp-sdk-mediaconnect/source/model/ThumbnailState.cpp
new file mode 100644
index 00000000000..c4d23c70ac0
--- /dev/null
+++ b/generated/src/aws-cpp-sdk-mediaconnect/source/model/ThumbnailState.cpp
@@ -0,0 +1,72 @@
+/**
+ * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ * SPDX-License-Identifier: Apache-2.0.
+ */
+
+#include
+#include
+#include
+#include
+
+using namespace Aws::Utils;
+
+
+namespace Aws
+{
+ namespace MediaConnect
+ {
+ namespace Model
+ {
+ namespace ThumbnailStateMapper
+ {
+
+ static const int ENABLED_HASH = HashingUtils::HashString("ENABLED");
+ static const int DISABLED_HASH = HashingUtils::HashString("DISABLED");
+
+
+ ThumbnailState GetThumbnailStateForName(const Aws::String& name)
+ {
+ int hashCode = HashingUtils::HashString(name.c_str());
+ if (hashCode == ENABLED_HASH)
+ {
+ return ThumbnailState::ENABLED;
+ }
+ else if (hashCode == DISABLED_HASH)
+ {
+ return ThumbnailState::DISABLED;
+ }
+ EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer();
+ if(overflowContainer)
+ {
+ overflowContainer->StoreOverflow(hashCode, name);
+ return static_cast