AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = 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 "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 template<typename StackSetNameT = Aws::String>
50 void SetStackSetName(StackSetNameT&& value) { m_stackSetNameHasBeenSet = true; m_stackSetName = std::forward<StackSetNameT>(value); }
51 template<typename StackSetNameT = Aws::String>
52 DetectStackSetDriftRequest& WithStackSetName(StackSetNameT&& value) { SetStackSetName(std::forward<StackSetNameT>(value)); return *this;}
54
56
63 inline const StackSetOperationPreferences& GetOperationPreferences() const { return m_operationPreferences; }
64 inline bool OperationPreferencesHasBeenSet() const { return m_operationPreferencesHasBeenSet; }
65 template<typename OperationPreferencesT = StackSetOperationPreferences>
66 void SetOperationPreferences(OperationPreferencesT&& value) { m_operationPreferencesHasBeenSet = true; m_operationPreferences = std::forward<OperationPreferencesT>(value); }
67 template<typename OperationPreferencesT = StackSetOperationPreferences>
68 DetectStackSetDriftRequest& WithOperationPreferences(OperationPreferencesT&& value) { SetOperationPreferences(std::forward<OperationPreferencesT>(value)); return *this;}
70
72
75 inline const Aws::String& GetOperationId() const { return m_operationId; }
76 inline bool OperationIdHasBeenSet() const { return m_operationIdHasBeenSet; }
77 template<typename OperationIdT = Aws::String>
78 void SetOperationId(OperationIdT&& value) { m_operationIdHasBeenSet = true; m_operationId = std::forward<OperationIdT>(value); }
79 template<typename OperationIdT = Aws::String>
80 DetectStackSetDriftRequest& WithOperationId(OperationIdT&& value) { SetOperationId(std::forward<OperationIdT>(value)); return *this;}
82
84
98 inline CallAs GetCallAs() const { return m_callAs; }
99 inline bool CallAsHasBeenSet() const { return m_callAsHasBeenSet; }
100 inline void SetCallAs(CallAs value) { m_callAsHasBeenSet = true; m_callAs = value; }
101 inline DetectStackSetDriftRequest& WithCallAs(CallAs value) { SetCallAs(value); return *this;}
103 private:
104
105 Aws::String m_stackSetName;
106 bool m_stackSetNameHasBeenSet = false;
107
108 StackSetOperationPreferences m_operationPreferences;
109 bool m_operationPreferencesHasBeenSet = false;
110
112 bool m_operationIdHasBeenSet = true;
113
114 CallAs m_callAs{CallAs::NOT_SET};
115 bool m_callAsHasBeenSet = false;
116 };
117
118} // namespace Model
119} // namespace CloudFormation
120} // namespace Aws
DetectStackSetDriftRequest & WithOperationPreferences(OperationPreferencesT &&value)
DetectStackSetDriftRequest & WithOperationId(OperationIdT &&value)
DetectStackSetDriftRequest & WithStackSetName(StackSetNameT &&value)
AWS_CLOUDFORMATION_API Aws::String SerializePayload() const override
const StackSetOperationPreferences & GetOperationPreferences() const
AWS_CLOUDFORMATION_API DetectStackSetDriftRequest()=default
AWS_CLOUDFORMATION_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
static Aws::Utils::UUID PseudoRandomUUID()
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String