AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetConformancePackName(const Aws::String& value) { m_conformancePackNameHasBeenSet = true; m_conformancePackName = value; }
47 inline void SetConformancePackName(Aws::String&& value) { m_conformancePackNameHasBeenSet = true; m_conformancePackName = std::move(value); }
48 inline void SetConformancePackName(const char* value) { m_conformancePackNameHasBeenSet = true; m_conformancePackName.assign(value); }
50 inline PutConformancePackRequest& WithConformancePackName(Aws::String&& value) { SetConformancePackName(std::move(value)); return *this;}
51 inline PutConformancePackRequest& WithConformancePackName(const char* value) { SetConformancePackName(value); return *this;}
53
55
65 inline const Aws::String& GetTemplateS3Uri() const{ return m_templateS3Uri; }
66 inline bool TemplateS3UriHasBeenSet() const { return m_templateS3UriHasBeenSet; }
67 inline void SetTemplateS3Uri(const Aws::String& value) { m_templateS3UriHasBeenSet = true; m_templateS3Uri = value; }
68 inline void SetTemplateS3Uri(Aws::String&& value) { m_templateS3UriHasBeenSet = true; m_templateS3Uri = std::move(value); }
69 inline void SetTemplateS3Uri(const char* value) { m_templateS3UriHasBeenSet = true; m_templateS3Uri.assign(value); }
70 inline PutConformancePackRequest& WithTemplateS3Uri(const Aws::String& value) { SetTemplateS3Uri(value); return *this;}
71 inline PutConformancePackRequest& WithTemplateS3Uri(Aws::String&& value) { SetTemplateS3Uri(std::move(value)); return *this;}
72 inline PutConformancePackRequest& WithTemplateS3Uri(const char* value) { SetTemplateS3Uri(value); return *this;}
74
76
83 inline const Aws::String& GetTemplateBody() const{ return m_templateBody; }
84 inline bool TemplateBodyHasBeenSet() const { return m_templateBodyHasBeenSet; }
85 inline void SetTemplateBody(const Aws::String& value) { m_templateBodyHasBeenSet = true; m_templateBody = value; }
86 inline void SetTemplateBody(Aws::String&& value) { m_templateBodyHasBeenSet = true; m_templateBody = std::move(value); }
87 inline void SetTemplateBody(const char* value) { m_templateBodyHasBeenSet = true; m_templateBody.assign(value); }
88 inline PutConformancePackRequest& WithTemplateBody(const Aws::String& value) { SetTemplateBody(value); return *this;}
89 inline PutConformancePackRequest& WithTemplateBody(Aws::String&& value) { SetTemplateBody(std::move(value)); return *this;}
90 inline PutConformancePackRequest& WithTemplateBody(const char* value) { SetTemplateBody(value); return *this;}
92
94
98 inline const Aws::String& GetDeliveryS3Bucket() const{ return m_deliveryS3Bucket; }
99 inline bool DeliveryS3BucketHasBeenSet() const { return m_deliveryS3BucketHasBeenSet; }
100 inline void SetDeliveryS3Bucket(const Aws::String& value) { m_deliveryS3BucketHasBeenSet = true; m_deliveryS3Bucket = value; }
101 inline void SetDeliveryS3Bucket(Aws::String&& value) { m_deliveryS3BucketHasBeenSet = true; m_deliveryS3Bucket = std::move(value); }
102 inline void SetDeliveryS3Bucket(const char* value) { m_deliveryS3BucketHasBeenSet = true; m_deliveryS3Bucket.assign(value); }
104 inline PutConformancePackRequest& WithDeliveryS3Bucket(Aws::String&& value) { SetDeliveryS3Bucket(std::move(value)); return *this;}
105 inline PutConformancePackRequest& WithDeliveryS3Bucket(const char* value) { SetDeliveryS3Bucket(value); return *this;}
107
109
113 inline const Aws::String& GetDeliveryS3KeyPrefix() const{ return m_deliveryS3KeyPrefix; }
114 inline bool DeliveryS3KeyPrefixHasBeenSet() const { return m_deliveryS3KeyPrefixHasBeenSet; }
115 inline void SetDeliveryS3KeyPrefix(const Aws::String& value) { m_deliveryS3KeyPrefixHasBeenSet = true; m_deliveryS3KeyPrefix = value; }
116 inline void SetDeliveryS3KeyPrefix(Aws::String&& value) { m_deliveryS3KeyPrefixHasBeenSet = true; m_deliveryS3KeyPrefix = std::move(value); }
117 inline void SetDeliveryS3KeyPrefix(const char* value) { m_deliveryS3KeyPrefixHasBeenSet = true; m_deliveryS3KeyPrefix.assign(value); }
119 inline PutConformancePackRequest& WithDeliveryS3KeyPrefix(Aws::String&& value) { SetDeliveryS3KeyPrefix(std::move(value)); return *this;}
120 inline PutConformancePackRequest& WithDeliveryS3KeyPrefix(const char* value) { SetDeliveryS3KeyPrefix(value); return *this;}
122
124
127 inline const Aws::Vector<ConformancePackInputParameter>& GetConformancePackInputParameters() const{ return m_conformancePackInputParameters; }
128 inline bool ConformancePackInputParametersHasBeenSet() const { return m_conformancePackInputParametersHasBeenSet; }
129 inline void SetConformancePackInputParameters(const Aws::Vector<ConformancePackInputParameter>& value) { m_conformancePackInputParametersHasBeenSet = true; m_conformancePackInputParameters = value; }
130 inline void SetConformancePackInputParameters(Aws::Vector<ConformancePackInputParameter>&& value) { m_conformancePackInputParametersHasBeenSet = true; m_conformancePackInputParameters = std::move(value); }
133 inline PutConformancePackRequest& AddConformancePackInputParameters(const ConformancePackInputParameter& value) { m_conformancePackInputParametersHasBeenSet = true; m_conformancePackInputParameters.push_back(value); return *this; }
134 inline PutConformancePackRequest& AddConformancePackInputParameters(ConformancePackInputParameter&& value) { m_conformancePackInputParametersHasBeenSet = true; m_conformancePackInputParameters.push_back(std::move(value)); return *this; }
136
138
144 inline const TemplateSSMDocumentDetails& GetTemplateSSMDocumentDetails() const{ return m_templateSSMDocumentDetails; }
145 inline bool TemplateSSMDocumentDetailsHasBeenSet() const { return m_templateSSMDocumentDetailsHasBeenSet; }
146 inline void SetTemplateSSMDocumentDetails(const TemplateSSMDocumentDetails& value) { m_templateSSMDocumentDetailsHasBeenSet = true; m_templateSSMDocumentDetails = value; }
147 inline void SetTemplateSSMDocumentDetails(TemplateSSMDocumentDetails&& value) { m_templateSSMDocumentDetailsHasBeenSet = true; m_templateSSMDocumentDetails = std::move(value); }
151 private:
152
153 Aws::String m_conformancePackName;
154 bool m_conformancePackNameHasBeenSet = false;
155
156 Aws::String m_templateS3Uri;
157 bool m_templateS3UriHasBeenSet = false;
158
159 Aws::String m_templateBody;
160 bool m_templateBodyHasBeenSet = false;
161
162 Aws::String m_deliveryS3Bucket;
163 bool m_deliveryS3BucketHasBeenSet = false;
164
165 Aws::String m_deliveryS3KeyPrefix;
166 bool m_deliveryS3KeyPrefixHasBeenSet = false;
167
168 Aws::Vector<ConformancePackInputParameter> m_conformancePackInputParameters;
169 bool m_conformancePackInputParametersHasBeenSet = false;
170
171 TemplateSSMDocumentDetails m_templateSSMDocumentDetails;
172 bool m_templateSSMDocumentDetailsHasBeenSet = false;
173 };
174
175} // namespace Model
176} // namespace ConfigService
177} // namespace Aws
AWS_CONFIGSERVICE_API Aws::String SerializePayload() const override
void SetTemplateSSMDocumentDetails(TemplateSSMDocumentDetails &&value)
PutConformancePackRequest & WithTemplateSSMDocumentDetails(const TemplateSSMDocumentDetails &value)
PutConformancePackRequest & WithTemplateS3Uri(Aws::String &&value)
PutConformancePackRequest & WithTemplateS3Uri(const char *value)
PutConformancePackRequest & WithTemplateBody(const Aws::String &value)
PutConformancePackRequest & AddConformancePackInputParameters(ConformancePackInputParameter &&value)
virtual const char * GetServiceRequestName() const override
PutConformancePackRequest & WithDeliveryS3Bucket(const char *value)
void SetTemplateSSMDocumentDetails(const TemplateSSMDocumentDetails &value)
AWS_CONFIGSERVICE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
PutConformancePackRequest & WithTemplateS3Uri(const Aws::String &value)
void SetConformancePackInputParameters(Aws::Vector< ConformancePackInputParameter > &&value)
PutConformancePackRequest & AddConformancePackInputParameters(const ConformancePackInputParameter &value)
PutConformancePackRequest & WithDeliveryS3Bucket(Aws::String &&value)
void SetConformancePackInputParameters(const Aws::Vector< ConformancePackInputParameter > &value)
PutConformancePackRequest & WithConformancePackName(const Aws::String &value)
PutConformancePackRequest & WithConformancePackInputParameters(const Aws::Vector< ConformancePackInputParameter > &value)
const Aws::Vector< ConformancePackInputParameter > & GetConformancePackInputParameters() const
PutConformancePackRequest & WithDeliveryS3Bucket(const Aws::String &value)
PutConformancePackRequest & WithConformancePackName(const char *value)
PutConformancePackRequest & WithTemplateBody(const char *value)
const TemplateSSMDocumentDetails & GetTemplateSSMDocumentDetails() const
PutConformancePackRequest & WithDeliveryS3KeyPrefix(const char *value)
PutConformancePackRequest & WithDeliveryS3KeyPrefix(Aws::String &&value)
PutConformancePackRequest & WithTemplateBody(Aws::String &&value)
PutConformancePackRequest & WithTemplateSSMDocumentDetails(TemplateSSMDocumentDetails &&value)
PutConformancePackRequest & WithConformancePackName(Aws::String &&value)
PutConformancePackRequest & WithConformancePackInputParameters(Aws::Vector< ConformancePackInputParameter > &&value)
PutConformancePackRequest & WithDeliveryS3KeyPrefix(const Aws::String &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