AWS SDK for C++  1.9.66
AWS SDK for C++
AssociateTeamMemberRequest.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 "AssociateTeamMember"; }
31 
32  Aws::String SerializePayload() const override;
33 
35 
36 
40  inline const Aws::String& GetProjectId() const{ return m_projectId; }
41 
45  inline bool ProjectIdHasBeenSet() const { return m_projectIdHasBeenSet; }
46 
50  inline void SetProjectId(const Aws::String& value) { m_projectIdHasBeenSet = true; m_projectId = value; }
51 
55  inline void SetProjectId(Aws::String&& value) { m_projectIdHasBeenSet = true; m_projectId = std::move(value); }
56 
60  inline void SetProjectId(const char* value) { m_projectIdHasBeenSet = true; m_projectId.assign(value); }
61 
65  inline AssociateTeamMemberRequest& WithProjectId(const Aws::String& value) { SetProjectId(value); return *this;}
66 
70  inline AssociateTeamMemberRequest& WithProjectId(Aws::String&& value) { SetProjectId(std::move(value)); return *this;}
71 
75  inline AssociateTeamMemberRequest& WithProjectId(const char* value) { SetProjectId(value); return *this;}
76 
77 
83  inline const Aws::String& GetClientRequestToken() const{ return m_clientRequestToken; }
84 
90  inline bool ClientRequestTokenHasBeenSet() const { return m_clientRequestTokenHasBeenSet; }
91 
97  inline void SetClientRequestToken(const Aws::String& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = value; }
98 
104  inline void SetClientRequestToken(Aws::String&& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = std::move(value); }
105 
111  inline void SetClientRequestToken(const char* value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken.assign(value); }
112 
118  inline AssociateTeamMemberRequest& WithClientRequestToken(const Aws::String& value) { SetClientRequestToken(value); return *this;}
119 
125  inline AssociateTeamMemberRequest& WithClientRequestToken(Aws::String&& value) { SetClientRequestToken(std::move(value)); return *this;}
126 
132  inline AssociateTeamMemberRequest& WithClientRequestToken(const char* value) { SetClientRequestToken(value); return *this;}
133 
134 
139  inline const Aws::String& GetUserArn() const{ return m_userArn; }
140 
145  inline bool UserArnHasBeenSet() const { return m_userArnHasBeenSet; }
146 
151  inline void SetUserArn(const Aws::String& value) { m_userArnHasBeenSet = true; m_userArn = value; }
152 
157  inline void SetUserArn(Aws::String&& value) { m_userArnHasBeenSet = true; m_userArn = std::move(value); }
158 
163  inline void SetUserArn(const char* value) { m_userArnHasBeenSet = true; m_userArn.assign(value); }
164 
169  inline AssociateTeamMemberRequest& WithUserArn(const Aws::String& value) { SetUserArn(value); return *this;}
170 
175  inline AssociateTeamMemberRequest& WithUserArn(Aws::String&& value) { SetUserArn(std::move(value)); return *this;}
176 
181  inline AssociateTeamMemberRequest& WithUserArn(const char* value) { SetUserArn(value); return *this;}
182 
183 
188  inline const Aws::String& GetProjectRole() const{ return m_projectRole; }
189 
194  inline bool ProjectRoleHasBeenSet() const { return m_projectRoleHasBeenSet; }
195 
200  inline void SetProjectRole(const Aws::String& value) { m_projectRoleHasBeenSet = true; m_projectRole = value; }
201 
206  inline void SetProjectRole(Aws::String&& value) { m_projectRoleHasBeenSet = true; m_projectRole = std::move(value); }
207 
212  inline void SetProjectRole(const char* value) { m_projectRoleHasBeenSet = true; m_projectRole.assign(value); }
213 
218  inline AssociateTeamMemberRequest& WithProjectRole(const Aws::String& value) { SetProjectRole(value); return *this;}
219 
224  inline AssociateTeamMemberRequest& WithProjectRole(Aws::String&& value) { SetProjectRole(std::move(value)); return *this;}
225 
230  inline AssociateTeamMemberRequest& WithProjectRole(const char* value) { SetProjectRole(value); return *this;}
231 
232 
237  inline bool GetRemoteAccessAllowed() const{ return m_remoteAccessAllowed; }
238 
243  inline bool RemoteAccessAllowedHasBeenSet() const { return m_remoteAccessAllowedHasBeenSet; }
244 
249  inline void SetRemoteAccessAllowed(bool value) { m_remoteAccessAllowedHasBeenSet = true; m_remoteAccessAllowed = value; }
250 
255  inline AssociateTeamMemberRequest& WithRemoteAccessAllowed(bool value) { SetRemoteAccessAllowed(value); return *this;}
256 
257  private:
258 
259  Aws::String m_projectId;
260  bool m_projectIdHasBeenSet;
261 
262  Aws::String m_clientRequestToken;
263  bool m_clientRequestTokenHasBeenSet;
264 
265  Aws::String m_userArn;
266  bool m_userArnHasBeenSet;
267 
268  Aws::String m_projectRole;
269  bool m_projectRoleHasBeenSet;
270 
271  bool m_remoteAccessAllowed;
272  bool m_remoteAccessAllowedHasBeenSet;
273  };
274 
275 } // namespace Model
276 } // namespace CodeStar
277 } // namespace Aws
Aws::CodeStar::Model::AssociateTeamMemberRequest::WithProjectRole
AssociateTeamMemberRequest & WithProjectRole(const Aws::String &value)
Definition: AssociateTeamMemberRequest.h:218
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::CodeStar::Model::AssociateTeamMemberRequest::GetProjectRole
const Aws::String & GetProjectRole() const
Definition: AssociateTeamMemberRequest.h:188
Aws::CodeStar::Model::AssociateTeamMemberRequest::SetProjectRole
void SetProjectRole(const Aws::String &value)
Definition: AssociateTeamMemberRequest.h:200
AWS_CODESTAR_API
#define AWS_CODESTAR_API
Definition: CodeStar_EXPORTS.h:28
Aws::CodeStar::Model::AssociateTeamMemberRequest::RemoteAccessAllowedHasBeenSet
bool RemoteAccessAllowedHasBeenSet() const
Definition: AssociateTeamMemberRequest.h:243
Aws::CodeStar::Model::AssociateTeamMemberRequest::ProjectRoleHasBeenSet
bool ProjectRoleHasBeenSet() const
Definition: AssociateTeamMemberRequest.h:194
Aws::CodeStar::Model::AssociateTeamMemberRequest::SetClientRequestToken
void SetClientRequestToken(const char *value)
Definition: AssociateTeamMemberRequest.h:111
Aws::CodeStar::Model::AssociateTeamMemberRequest::WithClientRequestToken
AssociateTeamMemberRequest & WithClientRequestToken(const Aws::String &value)
Definition: AssociateTeamMemberRequest.h:118
Aws::CodeStar::Model::AssociateTeamMemberRequest::AssociateTeamMemberRequest
AssociateTeamMemberRequest()
Aws::CodeStar::Model::AssociateTeamMemberRequest::SetProjectId
void SetProjectId(const char *value)
Definition: AssociateTeamMemberRequest.h:60
Aws::CodeStar::Model::AssociateTeamMemberRequest::SetUserArn
void SetUserArn(const Aws::String &value)
Definition: AssociateTeamMemberRequest.h:151
Aws::CodeStar::Model::AssociateTeamMemberRequest::UserArnHasBeenSet
bool UserArnHasBeenSet() const
Definition: AssociateTeamMemberRequest.h:145
Aws::CodeStar::Model::AssociateTeamMemberRequest::WithUserArn
AssociateTeamMemberRequest & WithUserArn(const char *value)
Definition: AssociateTeamMemberRequest.h:181
Aws::CodeStar::Model::AssociateTeamMemberRequest::WithRemoteAccessAllowed
AssociateTeamMemberRequest & WithRemoteAccessAllowed(bool value)
Definition: AssociateTeamMemberRequest.h:255
Aws::CodeStar::Model::AssociateTeamMemberRequest::ClientRequestTokenHasBeenSet
bool ClientRequestTokenHasBeenSet() const
Definition: AssociateTeamMemberRequest.h:90
Aws::CodeStar::Model::AssociateTeamMemberRequest::WithUserArn
AssociateTeamMemberRequest & WithUserArn(const Aws::String &value)
Definition: AssociateTeamMemberRequest.h:169
Aws::CodeStar::Model::AssociateTeamMemberRequest::WithProjectId
AssociateTeamMemberRequest & WithProjectId(const char *value)
Definition: AssociateTeamMemberRequest.h:75
Aws::CodeStar::Model::AssociateTeamMemberRequest::ProjectIdHasBeenSet
bool ProjectIdHasBeenSet() const
Definition: AssociateTeamMemberRequest.h:45
Aws::CodeStar::Model::AssociateTeamMemberRequest::WithUserArn
AssociateTeamMemberRequest & WithUserArn(Aws::String &&value)
Definition: AssociateTeamMemberRequest.h:175
Aws::CodeStar::CodeStarRequest
Definition: CodeStarRequest.h:17
CodeStar_EXPORTS.h
Aws::CodeStar::Model::AssociateTeamMemberRequest::WithClientRequestToken
AssociateTeamMemberRequest & WithClientRequestToken(Aws::String &&value)
Definition: AssociateTeamMemberRequest.h:125
CodeStarRequest.h
AWSString.h
Aws::CodeStar::Model::AssociateTeamMemberRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::CodeStar::Model::AssociateTeamMemberRequest::GetProjectId
const Aws::String & GetProjectId() const
Definition: AssociateTeamMemberRequest.h:40
Aws::CodeStar::Model::AssociateTeamMemberRequest::SetProjectRole
void SetProjectRole(const char *value)
Definition: AssociateTeamMemberRequest.h:212
Aws::CodeStar::Model::AssociateTeamMemberRequest::GetUserArn
const Aws::String & GetUserArn() const
Definition: AssociateTeamMemberRequest.h:139
Aws::CodeStar::Model::AssociateTeamMemberRequest::GetRemoteAccessAllowed
bool GetRemoteAccessAllowed() const
Definition: AssociateTeamMemberRequest.h:237
Aws::CodeStar::Model::AssociateTeamMemberRequest::GetClientRequestToken
const Aws::String & GetClientRequestToken() const
Definition: AssociateTeamMemberRequest.h:83
Aws
Definition: AccessManagementClient.h:15
Aws::CodeStar::Model::AssociateTeamMemberRequest::WithProjectId
AssociateTeamMemberRequest & WithProjectId(const Aws::String &value)
Definition: AssociateTeamMemberRequest.h:65
Aws::CodeStar::Model::AssociateTeamMemberRequest::WithProjectId
AssociateTeamMemberRequest & WithProjectId(Aws::String &&value)
Definition: AssociateTeamMemberRequest.h:70
Aws::CodeStar::Model::AssociateTeamMemberRequest::SetUserArn
void SetUserArn(const char *value)
Definition: AssociateTeamMemberRequest.h:163
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::CodeStar::Model::AssociateTeamMemberRequest::WithProjectRole
AssociateTeamMemberRequest & WithProjectRole(const char *value)
Definition: AssociateTeamMemberRequest.h:230
Aws::CodeStar::Model::AssociateTeamMemberRequest::SetUserArn
void SetUserArn(Aws::String &&value)
Definition: AssociateTeamMemberRequest.h:157
Aws::CodeStar::Model::AssociateTeamMemberRequest::SetProjectId
void SetProjectId(Aws::String &&value)
Definition: AssociateTeamMemberRequest.h:55
Aws::CodeStar::Model::AssociateTeamMemberRequest::SetProjectRole
void SetProjectRole(Aws::String &&value)
Definition: AssociateTeamMemberRequest.h:206
Aws::CodeStar::Model::AssociateTeamMemberRequest::SetClientRequestToken
void SetClientRequestToken(Aws::String &&value)
Definition: AssociateTeamMemberRequest.h:104
Aws::CodeStar::Model::AssociateTeamMemberRequest
Definition: AssociateTeamMemberRequest.h:22
Aws::CodeStar::Model::AssociateTeamMemberRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: AssociateTeamMemberRequest.h:30
Aws::CodeStar::Model::AssociateTeamMemberRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::CodeStar::Model::AssociateTeamMemberRequest::SetRemoteAccessAllowed
void SetRemoteAccessAllowed(bool value)
Definition: AssociateTeamMemberRequest.h:249
Aws::CodeStar::Model::AssociateTeamMemberRequest::SetProjectId
void SetProjectId(const Aws::String &value)
Definition: AssociateTeamMemberRequest.h:50
Aws::CodeStar::Model::AssociateTeamMemberRequest::SetClientRequestToken
void SetClientRequestToken(const Aws::String &value)
Definition: AssociateTeamMemberRequest.h:97
Aws::CodeStar::Model::AssociateTeamMemberRequest::WithClientRequestToken
AssociateTeamMemberRequest & WithClientRequestToken(const char *value)
Definition: AssociateTeamMemberRequest.h:132
Aws::CodeStar::Model::AssociateTeamMemberRequest::WithProjectRole
AssociateTeamMemberRequest & WithProjectRole(Aws::String &&value)
Definition: AssociateTeamMemberRequest.h:224