AWS SDK for C++  1.9.66
AWS SDK for C++
UpdateProjectRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace CodeStar
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 "UpdateProject"; }
31 
32  Aws::String SerializePayload() const override;
33 
35 
36 
40  inline const Aws::String& GetId() const{ return m_id; }
41 
45  inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
46 
50  inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
51 
55  inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
56 
60  inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
61 
65  inline UpdateProjectRequest& WithId(const Aws::String& value) { SetId(value); return *this;}
66 
70  inline UpdateProjectRequest& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
71 
75  inline UpdateProjectRequest& WithId(const char* value) { SetId(value); return *this;}
76 
77 
81  inline const Aws::String& GetName() const{ return m_name; }
82 
86  inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
87 
91  inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
92 
96  inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
97 
101  inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
102 
106  inline UpdateProjectRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
107 
111  inline UpdateProjectRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
112 
116  inline UpdateProjectRequest& WithName(const char* value) { SetName(value); return *this;}
117 
118 
122  inline const Aws::String& GetDescription() const{ return m_description; }
123 
127  inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
128 
132  inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
133 
137  inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
138 
142  inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
143 
147  inline UpdateProjectRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
148 
152  inline UpdateProjectRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
153 
157  inline UpdateProjectRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
158 
159  private:
160 
161  Aws::String m_id;
162  bool m_idHasBeenSet;
163 
164  Aws::String m_name;
165  bool m_nameHasBeenSet;
166 
167  Aws::String m_description;
168  bool m_descriptionHasBeenSet;
169  };
170 
171 } // namespace Model
172 } // namespace CodeStar
173 } // namespace Aws
Aws::CodeStar::Model::UpdateProjectRequest::WithName
UpdateProjectRequest & WithName(Aws::String &&value)
Definition: UpdateProjectRequest.h:111
Aws::CodeStar::Model::UpdateProjectRequest::SetId
void SetId(const char *value)
Definition: UpdateProjectRequest.h:60
Aws::CodeStar::Model::UpdateProjectRequest::SetDescription
void SetDescription(const Aws::String &value)
Definition: UpdateProjectRequest.h:132
Aws::CodeStar::Model::UpdateProjectRequest::SetId
void SetId(Aws::String &&value)
Definition: UpdateProjectRequest.h:55
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::CodeStar::Model::UpdateProjectRequest::WithDescription
UpdateProjectRequest & WithDescription(const char *value)
Definition: UpdateProjectRequest.h:157
AWS_CODESTAR_API
#define AWS_CODESTAR_API
Definition: CodeStar_EXPORTS.h:28
Aws::CodeStar::Model::UpdateProjectRequest::WithDescription
UpdateProjectRequest & WithDescription(const Aws::String &value)
Definition: UpdateProjectRequest.h:147
Aws::CodeStar::Model::UpdateProjectRequest::IdHasBeenSet
bool IdHasBeenSet() const
Definition: UpdateProjectRequest.h:45
Aws::CodeStar::Model::UpdateProjectRequest::WithId
UpdateProjectRequest & WithId(const Aws::String &value)
Definition: UpdateProjectRequest.h:65
Aws::CodeStar::Model::UpdateProjectRequest
Definition: UpdateProjectRequest.h:22
Aws::CodeStar::Model::UpdateProjectRequest::WithName
UpdateProjectRequest & WithName(const Aws::String &value)
Definition: UpdateProjectRequest.h:106
Aws::CodeStar::Model::UpdateProjectRequest::WithDescription
UpdateProjectRequest & WithDescription(Aws::String &&value)
Definition: UpdateProjectRequest.h:152
Aws::CodeStar::Model::UpdateProjectRequest::SetName
void SetName(const char *value)
Definition: UpdateProjectRequest.h:101
Aws::CodeStar::Model::UpdateProjectRequest::SetDescription
void SetDescription(Aws::String &&value)
Definition: UpdateProjectRequest.h:137
Aws::CodeStar::Model::UpdateProjectRequest::SetName
void SetName(const Aws::String &value)
Definition: UpdateProjectRequest.h:91
Aws::CodeStar::Model::UpdateProjectRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::CodeStar::Model::UpdateProjectRequest::SetId
void SetId(const Aws::String &value)
Definition: UpdateProjectRequest.h:50
Aws::CodeStar::CodeStarRequest
Definition: CodeStarRequest.h:17
Aws::CodeStar::Model::UpdateProjectRequest::DescriptionHasBeenSet
bool DescriptionHasBeenSet() const
Definition: UpdateProjectRequest.h:127
Aws::CodeStar::Model::UpdateProjectRequest::NameHasBeenSet
bool NameHasBeenSet() const
Definition: UpdateProjectRequest.h:86
CodeStar_EXPORTS.h
Aws::CodeStar::Model::UpdateProjectRequest::WithId
UpdateProjectRequest & WithId(Aws::String &&value)
Definition: UpdateProjectRequest.h:70
Aws::CodeStar::Model::UpdateProjectRequest::SetDescription
void SetDescription(const char *value)
Definition: UpdateProjectRequest.h:142
Aws::CodeStar::Model::UpdateProjectRequest::WithId
UpdateProjectRequest & WithId(const char *value)
Definition: UpdateProjectRequest.h:75
CodeStarRequest.h
AWSString.h
Aws::CodeStar::Model::UpdateProjectRequest::GetId
const Aws::String & GetId() const
Definition: UpdateProjectRequest.h:40
Aws::CodeStar::Model::UpdateProjectRequest::GetName
const Aws::String & GetName() const
Definition: UpdateProjectRequest.h:81
Aws
Definition: AccessManagementClient.h:15
Aws::CodeStar::Model::UpdateProjectRequest::WithName
UpdateProjectRequest & WithName(const char *value)
Definition: UpdateProjectRequest.h:116
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::CodeStar::Model::UpdateProjectRequest::GetDescription
const Aws::String & GetDescription() const
Definition: UpdateProjectRequest.h:122
Aws::CodeStar::Model::UpdateProjectRequest::UpdateProjectRequest
UpdateProjectRequest()
Aws::CodeStar::Model::UpdateProjectRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::CodeStar::Model::UpdateProjectRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: UpdateProjectRequest.h:30
Aws::CodeStar::Model::UpdateProjectRequest::SetName
void SetName(Aws::String &&value)
Definition: UpdateProjectRequest.h:96