AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DetectStackSetDriftRequest.h
1
6#pragma once
7#include <aws/cloudformation/CloudFormation_EXPORTS.h>
8#include <aws/cloudformation/CloudFormationRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/cloudformation/model/StackSetOperationPreferences.h>
11#include <aws/cloudformation/model/CallAs.h>
12#include <utility>
13#include <aws/core/utils/UUID.h>
14
15namespace Aws
16{
17namespace CloudFormation
18{
19namespace Model
20{
21
25 {
26 public:
27 AWS_CLOUDFORMATION_API DetectStackSetDriftRequest();
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_CLOUDFORMATION_API Aws::String SerializePayload() const override;
36
37 protected:
38 AWS_CLOUDFORMATION_API void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
39
40 public:
41
43
47 inline const Aws::String& GetStackSetName() const{ return m_stackSetName; }
48 inline bool StackSetNameHasBeenSet() const { return m_stackSetNameHasBeenSet; }
49 inline void SetStackSetName(const Aws::String& value) { m_stackSetNameHasBeenSet = true; m_stackSetName = value; }
50 inline void SetStackSetName(Aws::String&& value) { m_stackSetNameHasBeenSet = true; m_stackSetName = std::move(value); }
51 inline void SetStackSetName(const char* value) { m_stackSetNameHasBeenSet = true; m_stackSetName.assign(value); }
52 inline DetectStackSetDriftRequest& WithStackSetName(const Aws::String& value) { SetStackSetName(value); return *this;}
53 inline DetectStackSetDriftRequest& WithStackSetName(Aws::String&& value) { SetStackSetName(std::move(value)); return *this;}
54 inline DetectStackSetDriftRequest& WithStackSetName(const char* value) { SetStackSetName(value); return *this;}
56
58
65 inline const StackSetOperationPreferences& GetOperationPreferences() const{ return m_operationPreferences; }
66 inline bool OperationPreferencesHasBeenSet() const { return m_operationPreferencesHasBeenSet; }
67 inline void SetOperationPreferences(const StackSetOperationPreferences& value) { m_operationPreferencesHasBeenSet = true; m_operationPreferences = value; }
68 inline void SetOperationPreferences(StackSetOperationPreferences&& value) { m_operationPreferencesHasBeenSet = true; m_operationPreferences = std::move(value); }
72
74
77 inline const Aws::String& GetOperationId() const{ return m_operationId; }
78 inline bool OperationIdHasBeenSet() const { return m_operationIdHasBeenSet; }
79 inline void SetOperationId(const Aws::String& value) { m_operationIdHasBeenSet = true; m_operationId = value; }
80 inline void SetOperationId(Aws::String&& value) { m_operationIdHasBeenSet = true; m_operationId = std::move(value); }
81 inline void SetOperationId(const char* value) { m_operationIdHasBeenSet = true; m_operationId.assign(value); }
82 inline DetectStackSetDriftRequest& WithOperationId(const Aws::String& value) { SetOperationId(value); return *this;}
83 inline DetectStackSetDriftRequest& WithOperationId(Aws::String&& value) { SetOperationId(std::move(value)); return *this;}
84 inline DetectStackSetDriftRequest& WithOperationId(const char* value) { SetOperationId(value); return *this;}
86
88
102 inline const CallAs& GetCallAs() const{ return m_callAs; }
103 inline bool CallAsHasBeenSet() const { return m_callAsHasBeenSet; }
104 inline void SetCallAs(const CallAs& value) { m_callAsHasBeenSet = true; m_callAs = value; }
105 inline void SetCallAs(CallAs&& value) { m_callAsHasBeenSet = true; m_callAs = std::move(value); }
106 inline DetectStackSetDriftRequest& WithCallAs(const CallAs& value) { SetCallAs(value); return *this;}
107 inline DetectStackSetDriftRequest& WithCallAs(CallAs&& value) { SetCallAs(std::move(value)); return *this;}
109 private:
110
111 Aws::String m_stackSetName;
112 bool m_stackSetNameHasBeenSet = false;
113
114 StackSetOperationPreferences m_operationPreferences;
115 bool m_operationPreferencesHasBeenSet = false;
116
117 Aws::String m_operationId;
118 bool m_operationIdHasBeenSet = false;
119
120 CallAs m_callAs;
121 bool m_callAsHasBeenSet = false;
122 };
123
124} // namespace Model
125} // namespace CloudFormation
126} // namespace Aws
DetectStackSetDriftRequest & WithOperationId(Aws::String &&value)
DetectStackSetDriftRequest & WithOperationPreferences(StackSetOperationPreferences &&value)
DetectStackSetDriftRequest & WithCallAs(CallAs &&value)
DetectStackSetDriftRequest & WithOperationId(const char *value)
void SetOperationPreferences(const StackSetOperationPreferences &value)
void SetOperationPreferences(StackSetOperationPreferences &&value)
DetectStackSetDriftRequest & WithStackSetName(const char *value)
DetectStackSetDriftRequest & WithCallAs(const CallAs &value)
DetectStackSetDriftRequest & WithOperationPreferences(const StackSetOperationPreferences &value)
AWS_CLOUDFORMATION_API Aws::String SerializePayload() const override
DetectStackSetDriftRequest & WithOperationId(const Aws::String &value)
DetectStackSetDriftRequest & WithStackSetName(const Aws::String &value)
const StackSetOperationPreferences & GetOperationPreferences() const
AWS_CLOUDFORMATION_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
DetectStackSetDriftRequest & WithStackSetName(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String