AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
PutConformancePackRequest.h
1
6#pragma once
7#include <aws/config/ConfigService_EXPORTS.h>
8#include <aws/config/ConfigServiceRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/config/model/TemplateSSMDocumentDetails.h>
12#include <aws/config/model/ConformancePackInputParameter.h>
13#include <utility>
14
15namespace Aws
16{
17namespace ConfigService
18{
19namespace Model
20{
21
25 {
26 public:
27 AWS_CONFIGSERVICE_API PutConformancePackRequest() = default;
28
29 // Service request name is the Operation name which will send this request out,
30 // each operation should has unique request name, so that we can get operation's name from this request.
31 // Note: this is not true for response, multiple operations may have the same response name,
32 // so we can not get operation's name from response.
33 inline virtual const char* GetServiceRequestName() const override { return "PutConformancePack"; }
34
35 AWS_CONFIGSERVICE_API Aws::String SerializePayload() const override;
36
37 AWS_CONFIGSERVICE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
38
39
41
44 inline const Aws::String& GetConformancePackName() const { return m_conformancePackName; }
45 inline bool ConformancePackNameHasBeenSet() const { return m_conformancePackNameHasBeenSet; }
46 template<typename ConformancePackNameT = Aws::String>
47 void SetConformancePackName(ConformancePackNameT&& value) { m_conformancePackNameHasBeenSet = true; m_conformancePackName = std::forward<ConformancePackNameT>(value); }
48 template<typename ConformancePackNameT = Aws::String>
49 PutConformancePackRequest& WithConformancePackName(ConformancePackNameT&& value) { SetConformancePackName(std::forward<ConformancePackNameT>(value)); return *this;}
51
53
63 inline const Aws::String& GetTemplateS3Uri() const { return m_templateS3Uri; }
64 inline bool TemplateS3UriHasBeenSet() const { return m_templateS3UriHasBeenSet; }
65 template<typename TemplateS3UriT = Aws::String>
66 void SetTemplateS3Uri(TemplateS3UriT&& value) { m_templateS3UriHasBeenSet = true; m_templateS3Uri = std::forward<TemplateS3UriT>(value); }
67 template<typename TemplateS3UriT = Aws::String>
68 PutConformancePackRequest& WithTemplateS3Uri(TemplateS3UriT&& value) { SetTemplateS3Uri(std::forward<TemplateS3UriT>(value)); return *this;}
70
72
79 inline const Aws::String& GetTemplateBody() const { return m_templateBody; }
80 inline bool TemplateBodyHasBeenSet() const { return m_templateBodyHasBeenSet; }
81 template<typename TemplateBodyT = Aws::String>
82 void SetTemplateBody(TemplateBodyT&& value) { m_templateBodyHasBeenSet = true; m_templateBody = std::forward<TemplateBodyT>(value); }
83 template<typename TemplateBodyT = Aws::String>
84 PutConformancePackRequest& WithTemplateBody(TemplateBodyT&& value) { SetTemplateBody(std::forward<TemplateBodyT>(value)); return *this;}
86
88
92 inline const Aws::String& GetDeliveryS3Bucket() const { return m_deliveryS3Bucket; }
93 inline bool DeliveryS3BucketHasBeenSet() const { return m_deliveryS3BucketHasBeenSet; }
94 template<typename DeliveryS3BucketT = Aws::String>
95 void SetDeliveryS3Bucket(DeliveryS3BucketT&& value) { m_deliveryS3BucketHasBeenSet = true; m_deliveryS3Bucket = std::forward<DeliveryS3BucketT>(value); }
96 template<typename DeliveryS3BucketT = Aws::String>
97 PutConformancePackRequest& WithDeliveryS3Bucket(DeliveryS3BucketT&& value) { SetDeliveryS3Bucket(std::forward<DeliveryS3BucketT>(value)); return *this;}
99
101
105 inline const Aws::String& GetDeliveryS3KeyPrefix() const { return m_deliveryS3KeyPrefix; }
106 inline bool DeliveryS3KeyPrefixHasBeenSet() const { return m_deliveryS3KeyPrefixHasBeenSet; }
107 template<typename DeliveryS3KeyPrefixT = Aws::String>
108 void SetDeliveryS3KeyPrefix(DeliveryS3KeyPrefixT&& value) { m_deliveryS3KeyPrefixHasBeenSet = true; m_deliveryS3KeyPrefix = std::forward<DeliveryS3KeyPrefixT>(value); }
109 template<typename DeliveryS3KeyPrefixT = Aws::String>
110 PutConformancePackRequest& WithDeliveryS3KeyPrefix(DeliveryS3KeyPrefixT&& value) { SetDeliveryS3KeyPrefix(std::forward<DeliveryS3KeyPrefixT>(value)); return *this;}
112
114
117 inline const Aws::Vector<ConformancePackInputParameter>& GetConformancePackInputParameters() const { return m_conformancePackInputParameters; }
118 inline bool ConformancePackInputParametersHasBeenSet() const { return m_conformancePackInputParametersHasBeenSet; }
119 template<typename ConformancePackInputParametersT = Aws::Vector<ConformancePackInputParameter>>
120 void SetConformancePackInputParameters(ConformancePackInputParametersT&& value) { m_conformancePackInputParametersHasBeenSet = true; m_conformancePackInputParameters = std::forward<ConformancePackInputParametersT>(value); }
121 template<typename ConformancePackInputParametersT = Aws::Vector<ConformancePackInputParameter>>
122 PutConformancePackRequest& WithConformancePackInputParameters(ConformancePackInputParametersT&& value) { SetConformancePackInputParameters(std::forward<ConformancePackInputParametersT>(value)); return *this;}
123 template<typename ConformancePackInputParametersT = ConformancePackInputParameter>
124 PutConformancePackRequest& AddConformancePackInputParameters(ConformancePackInputParametersT&& value) { m_conformancePackInputParametersHasBeenSet = true; m_conformancePackInputParameters.emplace_back(std::forward<ConformancePackInputParametersT>(value)); return *this; }
126
128
134 inline const TemplateSSMDocumentDetails& GetTemplateSSMDocumentDetails() const { return m_templateSSMDocumentDetails; }
135 inline bool TemplateSSMDocumentDetailsHasBeenSet() const { return m_templateSSMDocumentDetailsHasBeenSet; }
136 template<typename TemplateSSMDocumentDetailsT = TemplateSSMDocumentDetails>
137 void SetTemplateSSMDocumentDetails(TemplateSSMDocumentDetailsT&& value) { m_templateSSMDocumentDetailsHasBeenSet = true; m_templateSSMDocumentDetails = std::forward<TemplateSSMDocumentDetailsT>(value); }
138 template<typename TemplateSSMDocumentDetailsT = TemplateSSMDocumentDetails>
139 PutConformancePackRequest& WithTemplateSSMDocumentDetails(TemplateSSMDocumentDetailsT&& value) { SetTemplateSSMDocumentDetails(std::forward<TemplateSSMDocumentDetailsT>(value)); return *this;}
141 private:
142
143 Aws::String m_conformancePackName;
144 bool m_conformancePackNameHasBeenSet = false;
145
146 Aws::String m_templateS3Uri;
147 bool m_templateS3UriHasBeenSet = false;
148
149 Aws::String m_templateBody;
150 bool m_templateBodyHasBeenSet = false;
151
152 Aws::String m_deliveryS3Bucket;
153 bool m_deliveryS3BucketHasBeenSet = false;
154
155 Aws::String m_deliveryS3KeyPrefix;
156 bool m_deliveryS3KeyPrefixHasBeenSet = false;
157
158 Aws::Vector<ConformancePackInputParameter> m_conformancePackInputParameters;
159 bool m_conformancePackInputParametersHasBeenSet = false;
160
161 TemplateSSMDocumentDetails m_templateSSMDocumentDetails;
162 bool m_templateSSMDocumentDetailsHasBeenSet = false;
163 };
164
165} // namespace Model
166} // namespace ConfigService
167} // namespace Aws
void SetTemplateSSMDocumentDetails(TemplateSSMDocumentDetailsT &&value)
PutConformancePackRequest & WithTemplateSSMDocumentDetails(TemplateSSMDocumentDetailsT &&value)
PutConformancePackRequest & WithTemplateS3Uri(TemplateS3UriT &&value)
AWS_CONFIGSERVICE_API Aws::String SerializePayload() const override
AWS_CONFIGSERVICE_API PutConformancePackRequest()=default
virtual const char * GetServiceRequestName() const override
PutConformancePackRequest & WithConformancePackName(ConformancePackNameT &&value)
AWS_CONFIGSERVICE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
PutConformancePackRequest & WithDeliveryS3KeyPrefix(DeliveryS3KeyPrefixT &&value)
void SetConformancePackInputParameters(ConformancePackInputParametersT &&value)
PutConformancePackRequest & WithConformancePackInputParameters(ConformancePackInputParametersT &&value)
const Aws::Vector< ConformancePackInputParameter > & GetConformancePackInputParameters() const
PutConformancePackRequest & WithDeliveryS3Bucket(DeliveryS3BucketT &&value)
const TemplateSSMDocumentDetails & GetTemplateSSMDocumentDetails() const
PutConformancePackRequest & AddConformancePackInputParameters(ConformancePackInputParametersT &&value)
PutConformancePackRequest & WithTemplateBody(TemplateBodyT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector