AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateResourceRequest.h
1
6#pragma once
7#include <aws/cloudcontrol/CloudControlApi_EXPORTS.h>
8#include <aws/cloudcontrol/CloudControlApiRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11#include <aws/core/utils/UUID.h>
12
13namespace Aws
14{
15namespace CloudControlApi
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_CLOUDCONTROLAPI_API UpdateResourceRequest();
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "UpdateResource"; }
32
33 AWS_CLOUDCONTROLAPI_API Aws::String SerializePayload() const override;
34
35 AWS_CLOUDCONTROLAPI_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
36
37
39
42 inline const Aws::String& GetTypeName() const{ return m_typeName; }
43 inline bool TypeNameHasBeenSet() const { return m_typeNameHasBeenSet; }
44 inline void SetTypeName(const Aws::String& value) { m_typeNameHasBeenSet = true; m_typeName = value; }
45 inline void SetTypeName(Aws::String&& value) { m_typeNameHasBeenSet = true; m_typeName = std::move(value); }
46 inline void SetTypeName(const char* value) { m_typeNameHasBeenSet = true; m_typeName.assign(value); }
47 inline UpdateResourceRequest& WithTypeName(const Aws::String& value) { SetTypeName(value); return *this;}
48 inline UpdateResourceRequest& WithTypeName(Aws::String&& value) { SetTypeName(std::move(value)); return *this;}
49 inline UpdateResourceRequest& WithTypeName(const char* value) { SetTypeName(value); return *this;}
51
53
58 inline const Aws::String& GetTypeVersionId() const{ return m_typeVersionId; }
59 inline bool TypeVersionIdHasBeenSet() const { return m_typeVersionIdHasBeenSet; }
60 inline void SetTypeVersionId(const Aws::String& value) { m_typeVersionIdHasBeenSet = true; m_typeVersionId = value; }
61 inline void SetTypeVersionId(Aws::String&& value) { m_typeVersionIdHasBeenSet = true; m_typeVersionId = std::move(value); }
62 inline void SetTypeVersionId(const char* value) { m_typeVersionIdHasBeenSet = true; m_typeVersionId.assign(value); }
63 inline UpdateResourceRequest& WithTypeVersionId(const Aws::String& value) { SetTypeVersionId(value); return *this;}
64 inline UpdateResourceRequest& WithTypeVersionId(Aws::String&& value) { SetTypeVersionId(std::move(value)); return *this;}
65 inline UpdateResourceRequest& WithTypeVersionId(const char* value) { SetTypeVersionId(value); return *this;}
67
69
84 inline const Aws::String& GetRoleArn() const{ return m_roleArn; }
85 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
86 inline void SetRoleArn(const Aws::String& value) { m_roleArnHasBeenSet = true; m_roleArn = value; }
87 inline void SetRoleArn(Aws::String&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::move(value); }
88 inline void SetRoleArn(const char* value) { m_roleArnHasBeenSet = true; m_roleArn.assign(value); }
89 inline UpdateResourceRequest& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;}
90 inline UpdateResourceRequest& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;}
91 inline UpdateResourceRequest& WithRoleArn(const char* value) { SetRoleArn(value); return *this;}
93
95
108 inline const Aws::String& GetClientToken() const{ return m_clientToken; }
109 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
110 inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; }
111 inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); }
112 inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); }
113 inline UpdateResourceRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;}
114 inline UpdateResourceRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;}
115 inline UpdateResourceRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;}
117
119
133 inline const Aws::String& GetIdentifier() const{ return m_identifier; }
134 inline bool IdentifierHasBeenSet() const { return m_identifierHasBeenSet; }
135 inline void SetIdentifier(const Aws::String& value) { m_identifierHasBeenSet = true; m_identifier = value; }
136 inline void SetIdentifier(Aws::String&& value) { m_identifierHasBeenSet = true; m_identifier = std::move(value); }
137 inline void SetIdentifier(const char* value) { m_identifierHasBeenSet = true; m_identifier.assign(value); }
138 inline UpdateResourceRequest& WithIdentifier(const Aws::String& value) { SetIdentifier(value); return *this;}
139 inline UpdateResourceRequest& WithIdentifier(Aws::String&& value) { SetIdentifier(std::move(value)); return *this;}
140 inline UpdateResourceRequest& WithIdentifier(const char* value) { SetIdentifier(value); return *this;}
142
144
152 inline const Aws::String& GetPatchDocument() const{ return m_patchDocument; }
153 inline bool PatchDocumentHasBeenSet() const { return m_patchDocumentHasBeenSet; }
154 inline void SetPatchDocument(const Aws::String& value) { m_patchDocumentHasBeenSet = true; m_patchDocument = value; }
155 inline void SetPatchDocument(Aws::String&& value) { m_patchDocumentHasBeenSet = true; m_patchDocument = std::move(value); }
156 inline void SetPatchDocument(const char* value) { m_patchDocumentHasBeenSet = true; m_patchDocument.assign(value); }
157 inline UpdateResourceRequest& WithPatchDocument(const Aws::String& value) { SetPatchDocument(value); return *this;}
158 inline UpdateResourceRequest& WithPatchDocument(Aws::String&& value) { SetPatchDocument(std::move(value)); return *this;}
159 inline UpdateResourceRequest& WithPatchDocument(const char* value) { SetPatchDocument(value); return *this;}
161 private:
162
163 Aws::String m_typeName;
164 bool m_typeNameHasBeenSet = false;
165
166 Aws::String m_typeVersionId;
167 bool m_typeVersionIdHasBeenSet = false;
168
169 Aws::String m_roleArn;
170 bool m_roleArnHasBeenSet = false;
171
172 Aws::String m_clientToken;
173 bool m_clientTokenHasBeenSet = false;
174
175 Aws::String m_identifier;
176 bool m_identifierHasBeenSet = false;
177
178 Aws::String m_patchDocument;
179 bool m_patchDocumentHasBeenSet = false;
180 };
181
182} // namespace Model
183} // namespace CloudControlApi
184} // namespace Aws
UpdateResourceRequest & WithClientToken(const Aws::String &value)
UpdateResourceRequest & WithPatchDocument(Aws::String &&value)
UpdateResourceRequest & WithTypeVersionId(const char *value)
UpdateResourceRequest & WithRoleArn(const char *value)
UpdateResourceRequest & WithIdentifier(const char *value)
UpdateResourceRequest & WithRoleArn(const Aws::String &value)
UpdateResourceRequest & WithTypeName(const char *value)
UpdateResourceRequest & WithClientToken(const char *value)
UpdateResourceRequest & WithTypeVersionId(const Aws::String &value)
UpdateResourceRequest & WithClientToken(Aws::String &&value)
AWS_CLOUDCONTROLAPI_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
virtual const char * GetServiceRequestName() const override
UpdateResourceRequest & WithPatchDocument(const Aws::String &value)
AWS_CLOUDCONTROLAPI_API Aws::String SerializePayload() const override
UpdateResourceRequest & WithIdentifier(const Aws::String &value)
UpdateResourceRequest & WithIdentifier(Aws::String &&value)
UpdateResourceRequest & WithTypeVersionId(Aws::String &&value)
UpdateResourceRequest & WithRoleArn(Aws::String &&value)
UpdateResourceRequest & WithTypeName(const Aws::String &value)
UpdateResourceRequest & WithPatchDocument(const char *value)
UpdateResourceRequest & WithTypeName(Aws::String &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String