AWS SDK for C++  1.8.154
AWS SDK for C++
DetectStackSetDriftRequest.h
Go to the documentation of this file.
1 
6 #pragma once
12 #include <utility>
13 #include <aws/core/utils/UUID.h>
14 
15 namespace Aws
16 {
17 namespace CloudFormation
18 {
19 namespace Model
20 {
21 
25  {
26  public:
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 "DetectStackSetDrift"; }
34 
35  Aws::String SerializePayload() const override;
36 
37  protected:
38  void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
39 
40  public:
41 
46  inline const Aws::String& GetStackSetName() const{ return m_stackSetName; }
47 
52  inline bool StackSetNameHasBeenSet() const { return m_stackSetNameHasBeenSet; }
53 
58  inline void SetStackSetName(const Aws::String& value) { m_stackSetNameHasBeenSet = true; m_stackSetName = value; }
59 
64  inline void SetStackSetName(Aws::String&& value) { m_stackSetNameHasBeenSet = true; m_stackSetName = std::move(value); }
65 
70  inline void SetStackSetName(const char* value) { m_stackSetNameHasBeenSet = true; m_stackSetName.assign(value); }
71 
76  inline DetectStackSetDriftRequest& WithStackSetName(const Aws::String& value) { SetStackSetName(value); return *this;}
77 
82  inline DetectStackSetDriftRequest& WithStackSetName(Aws::String&& value) { SetStackSetName(std::move(value)); return *this;}
83 
88  inline DetectStackSetDriftRequest& WithStackSetName(const char* value) { SetStackSetName(value); return *this;}
89 
90 
91 
92  inline const StackSetOperationPreferences& GetOperationPreferences() const{ return m_operationPreferences; }
93 
94 
95  inline bool OperationPreferencesHasBeenSet() const { return m_operationPreferencesHasBeenSet; }
96 
97 
98  inline void SetOperationPreferences(const StackSetOperationPreferences& value) { m_operationPreferencesHasBeenSet = true; m_operationPreferences = value; }
99 
100 
101  inline void SetOperationPreferences(StackSetOperationPreferences&& value) { m_operationPreferencesHasBeenSet = true; m_operationPreferences = std::move(value); }
102 
103 
104  inline DetectStackSetDriftRequest& WithOperationPreferences(const StackSetOperationPreferences& value) { SetOperationPreferences(value); return *this;}
105 
106 
107  inline DetectStackSetDriftRequest& WithOperationPreferences(StackSetOperationPreferences&& value) { SetOperationPreferences(std::move(value)); return *this;}
108 
109 
113  inline const Aws::String& GetOperationId() const{ return m_operationId; }
114 
118  inline bool OperationIdHasBeenSet() const { return m_operationIdHasBeenSet; }
119 
123  inline void SetOperationId(const Aws::String& value) { m_operationIdHasBeenSet = true; m_operationId = value; }
124 
128  inline void SetOperationId(Aws::String&& value) { m_operationIdHasBeenSet = true; m_operationId = std::move(value); }
129 
133  inline void SetOperationId(const char* value) { m_operationIdHasBeenSet = true; m_operationId.assign(value); }
134 
138  inline DetectStackSetDriftRequest& WithOperationId(const Aws::String& value) { SetOperationId(value); return *this;}
139 
143  inline DetectStackSetDriftRequest& WithOperationId(Aws::String&& value) { SetOperationId(std::move(value)); return *this;}
144 
148  inline DetectStackSetDriftRequest& WithOperationId(const char* value) { SetOperationId(value); return *this;}
149 
150 
165  inline const CallAs& GetCallAs() const{ return m_callAs; }
166 
181  inline bool CallAsHasBeenSet() const { return m_callAsHasBeenSet; }
182 
197  inline void SetCallAs(const CallAs& value) { m_callAsHasBeenSet = true; m_callAs = value; }
198 
213  inline void SetCallAs(CallAs&& value) { m_callAsHasBeenSet = true; m_callAs = std::move(value); }
214 
229  inline DetectStackSetDriftRequest& WithCallAs(const CallAs& value) { SetCallAs(value); return *this;}
230 
245  inline DetectStackSetDriftRequest& WithCallAs(CallAs&& value) { SetCallAs(std::move(value)); return *this;}
246 
247  private:
248 
249  Aws::String m_stackSetName;
250  bool m_stackSetNameHasBeenSet;
251 
252  StackSetOperationPreferences m_operationPreferences;
253  bool m_operationPreferencesHasBeenSet;
254 
255  Aws::String m_operationId;
256  bool m_operationIdHasBeenSet;
257 
258  CallAs m_callAs;
259  bool m_callAsHasBeenSet;
260  };
261 
262 } // namespace Model
263 } // namespace CloudFormation
264 } // namespace Aws
Aws::CloudFormation::Model::DetectStackSetDriftRequest::GetOperationId
const Aws::String & GetOperationId() const
Definition: DetectStackSetDriftRequest.h:113
Aws::CloudFormation::Model::DetectStackSetDriftRequest::GetOperationPreferences
const StackSetOperationPreferences & GetOperationPreferences() const
Definition: DetectStackSetDriftRequest.h:92
Aws::CloudFormation::Model::DetectStackSetDriftRequest::SetCallAs
void SetCallAs(const CallAs &value)
Definition: DetectStackSetDriftRequest.h:197
Aws::CloudFormation::Model::DetectStackSetDriftRequest::GetCallAs
const CallAs & GetCallAs() const
Definition: DetectStackSetDriftRequest.h:165
Aws::Http::URI
Definition: URI.h:32
Aws::CloudFormation::Model::DetectStackSetDriftRequest::WithStackSetName
DetectStackSetDriftRequest & WithStackSetName(Aws::String &&value)
Definition: DetectStackSetDriftRequest.h:82
Aws::CloudFormation::Model::DetectStackSetDriftRequest::OperationIdHasBeenSet
bool OperationIdHasBeenSet() const
Definition: DetectStackSetDriftRequest.h:118
Aws::CloudFormation::Model::DetectStackSetDriftRequest::SetOperationPreferences
void SetOperationPreferences(const StackSetOperationPreferences &value)
Definition: DetectStackSetDriftRequest.h:98
Aws::CloudFormation::Model::DetectStackSetDriftRequest::OperationPreferencesHasBeenSet
bool OperationPreferencesHasBeenSet() const
Definition: DetectStackSetDriftRequest.h:95
StackSetOperationPreferences.h
CloudFormation_EXPORTS.h
Aws::CloudFormation::Model::DetectStackSetDriftRequest::SetCallAs
void SetCallAs(CallAs &&value)
Definition: DetectStackSetDriftRequest.h:213
Aws::CloudFormation::Model::DetectStackSetDriftRequest::WithStackSetName
DetectStackSetDriftRequest & WithStackSetName(const char *value)
Definition: DetectStackSetDriftRequest.h:88
Aws::CloudFormation::Model::DetectStackSetDriftRequest::WithOperationId
DetectStackSetDriftRequest & WithOperationId(const Aws::String &value)
Definition: DetectStackSetDriftRequest.h:138
Aws::CloudFormation::Model::DetectStackSetDriftRequest::SetStackSetName
void SetStackSetName(Aws::String &&value)
Definition: DetectStackSetDriftRequest.h:64
Aws::CloudFormation::Model::DetectStackSetDriftRequest::SetOperationPreferences
void SetOperationPreferences(StackSetOperationPreferences &&value)
Definition: DetectStackSetDriftRequest.h:101
Aws::CloudFormation::Model::DetectStackSetDriftRequest
Definition: DetectStackSetDriftRequest.h:25
Aws::CloudFormation::Model::DetectStackSetDriftRequest::SetOperationId
void SetOperationId(Aws::String &&value)
Definition: DetectStackSetDriftRequest.h:128
Aws::CloudFormation::Model::DetectStackSetDriftRequest::WithOperationPreferences
DetectStackSetDriftRequest & WithOperationPreferences(const StackSetOperationPreferences &value)
Definition: DetectStackSetDriftRequest.h:104
Aws::CloudFormation::Model::DetectStackSetDriftRequest::SetStackSetName
void SetStackSetName(const char *value)
Definition: DetectStackSetDriftRequest.h:70
Aws::CloudFormation::Model::DetectStackSetDriftRequest::GetStackSetName
const Aws::String & GetStackSetName() const
Definition: DetectStackSetDriftRequest.h:46
CloudFormationRequest.h
Aws::CloudFormation::Model::DetectStackSetDriftRequest::SetOperationId
void SetOperationId(const Aws::String &value)
Definition: DetectStackSetDriftRequest.h:123
Aws::CloudFormation::Model::CallAs
CallAs
Definition: CallAs.h:17
Aws::CloudFormation::Model::DetectStackSetDriftRequest::WithOperationId
DetectStackSetDriftRequest & WithOperationId(const char *value)
Definition: DetectStackSetDriftRequest.h:148
Aws::CloudFormation::Model::DetectStackSetDriftRequest::WithCallAs
DetectStackSetDriftRequest & WithCallAs(const CallAs &value)
Definition: DetectStackSetDriftRequest.h:229
Aws::CloudFormation::Model::DetectStackSetDriftRequest::WithCallAs
DetectStackSetDriftRequest & WithCallAs(CallAs &&value)
Definition: DetectStackSetDriftRequest.h:245
Aws::CloudFormation::CloudFormationRequest
Definition: CloudFormationRequest.h:17
Aws::CloudFormation::Model::DetectStackSetDriftRequest::StackSetNameHasBeenSet
bool StackSetNameHasBeenSet() const
Definition: DetectStackSetDriftRequest.h:52
Aws::CloudFormation::Model::DetectStackSetDriftRequest::WithStackSetName
DetectStackSetDriftRequest & WithStackSetName(const Aws::String &value)
Definition: DetectStackSetDriftRequest.h:76
Aws::CloudFormation::Model::DetectStackSetDriftRequest::SetOperationId
void SetOperationId(const char *value)
Definition: DetectStackSetDriftRequest.h:133
Aws::CloudFormation::Model::DetectStackSetDriftRequest::CallAsHasBeenSet
bool CallAsHasBeenSet() const
Definition: DetectStackSetDriftRequest.h:181
AWSString.h
Aws::CloudFormation::Model::DetectStackSetDriftRequest::WithOperationId
DetectStackSetDriftRequest & WithOperationId(Aws::String &&value)
Definition: DetectStackSetDriftRequest.h:143
Aws::CloudFormation::Model::DetectStackSetDriftRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::CloudFormation::Model::StackSetOperationPreferences
Definition: StackSetOperationPreferences.h:37
Aws::CloudFormation::Model::DetectStackSetDriftRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DetectStackSetDriftRequest.h:33
Aws::CloudFormation::Model::DetectStackSetDriftRequest::DetectStackSetDriftRequest
DetectStackSetDriftRequest()
AWS_CLOUDFORMATION_API
#define AWS_CLOUDFORMATION_API
Definition: CloudFormation_EXPORTS.h:28
Aws::CloudFormation::Model::DetectStackSetDriftRequest::SetStackSetName
void SetStackSetName(const Aws::String &value)
Definition: DetectStackSetDriftRequest.h:58
CallAs.h
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
UUID.h
Aws::CloudFormation::Model::DetectStackSetDriftRequest::WithOperationPreferences
DetectStackSetDriftRequest & WithOperationPreferences(StackSetOperationPreferences &&value)
Definition: DetectStackSetDriftRequest.h:107
Aws::CloudFormation::Model::DetectStackSetDriftRequest::DumpBodyToUrl
void DumpBodyToUrl(Aws::Http::URI &uri) const override