AWS SDK for C++  1.8.71
AWS SDK for C++
StopStackSetOperationRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace CloudFormation
15 {
16 namespace Model
17 {
18 
22  {
23  public:
25 
26  // Service request name is the Operation name which will send this request out,
27  // each operation should has unique request name, so that we can get operation's name from this request.
28  // Note: this is not true for response, multiple operations may have the same response name,
29  // so we can not get operation's name from response.
30  inline virtual const char* GetServiceRequestName() const override { return "StopStackSetOperation"; }
31 
32  Aws::String SerializePayload() const override;
33 
34  protected:
35  void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
36 
37  public:
38 
43  inline const Aws::String& GetStackSetName() const{ return m_stackSetName; }
44 
49  inline bool StackSetNameHasBeenSet() const { return m_stackSetNameHasBeenSet; }
50 
55  inline void SetStackSetName(const Aws::String& value) { m_stackSetNameHasBeenSet = true; m_stackSetName = value; }
56 
61  inline void SetStackSetName(Aws::String&& value) { m_stackSetNameHasBeenSet = true; m_stackSetName = std::move(value); }
62 
67  inline void SetStackSetName(const char* value) { m_stackSetNameHasBeenSet = true; m_stackSetName.assign(value); }
68 
73  inline StopStackSetOperationRequest& WithStackSetName(const Aws::String& value) { SetStackSetName(value); return *this;}
74 
79  inline StopStackSetOperationRequest& WithStackSetName(Aws::String&& value) { SetStackSetName(std::move(value)); return *this;}
80 
85  inline StopStackSetOperationRequest& WithStackSetName(const char* value) { SetStackSetName(value); return *this;}
86 
87 
91  inline const Aws::String& GetOperationId() const{ return m_operationId; }
92 
96  inline bool OperationIdHasBeenSet() const { return m_operationIdHasBeenSet; }
97 
101  inline void SetOperationId(const Aws::String& value) { m_operationIdHasBeenSet = true; m_operationId = value; }
102 
106  inline void SetOperationId(Aws::String&& value) { m_operationIdHasBeenSet = true; m_operationId = std::move(value); }
107 
111  inline void SetOperationId(const char* value) { m_operationIdHasBeenSet = true; m_operationId.assign(value); }
112 
116  inline StopStackSetOperationRequest& WithOperationId(const Aws::String& value) { SetOperationId(value); return *this;}
117 
121  inline StopStackSetOperationRequest& WithOperationId(Aws::String&& value) { SetOperationId(std::move(value)); return *this;}
122 
126  inline StopStackSetOperationRequest& WithOperationId(const char* value) { SetOperationId(value); return *this;}
127 
128  private:
129 
130  Aws::String m_stackSetName;
131  bool m_stackSetNameHasBeenSet;
132 
133  Aws::String m_operationId;
134  bool m_operationIdHasBeenSet;
135  };
136 
137 } // namespace Model
138 } // namespace CloudFormation
139 } // namespace Aws
StopStackSetOperationRequest & WithOperationId(const Aws::String &value)
StopStackSetOperationRequest & WithStackSetName(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
StopStackSetOperationRequest & WithOperationId(const char *value)
#define AWS_CLOUDFORMATION_API
StopStackSetOperationRequest & WithOperationId(Aws::String &&value)
StopStackSetOperationRequest & WithStackSetName(const Aws::String &value)
StopStackSetOperationRequest & WithStackSetName(Aws::String &&value)