AWS SDK for C++  1.9.20
AWS SDK for C++
SyncDeploymentJobRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 #include <aws/core/utils/UUID.h>
12 
13 namespace Aws
14 {
15 namespace RoboMaker
16 {
17 namespace Model
18 {
19 
23  {
24  public:
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 "SyncDeploymentJob"; }
32 
33  Aws::String SerializePayload() const override;
34 
35 
40  inline const Aws::String& GetClientRequestToken() const{ return m_clientRequestToken; }
41 
46  inline bool ClientRequestTokenHasBeenSet() const { return m_clientRequestTokenHasBeenSet; }
47 
52  inline void SetClientRequestToken(const Aws::String& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = value; }
53 
58  inline void SetClientRequestToken(Aws::String&& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = std::move(value); }
59 
64  inline void SetClientRequestToken(const char* value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken.assign(value); }
65 
70  inline SyncDeploymentJobRequest& WithClientRequestToken(const Aws::String& value) { SetClientRequestToken(value); return *this;}
71 
76  inline SyncDeploymentJobRequest& WithClientRequestToken(Aws::String&& value) { SetClientRequestToken(std::move(value)); return *this;}
77 
82  inline SyncDeploymentJobRequest& WithClientRequestToken(const char* value) { SetClientRequestToken(value); return *this;}
83 
84 
88  inline const Aws::String& GetFleet() const{ return m_fleet; }
89 
93  inline bool FleetHasBeenSet() const { return m_fleetHasBeenSet; }
94 
98  inline void SetFleet(const Aws::String& value) { m_fleetHasBeenSet = true; m_fleet = value; }
99 
103  inline void SetFleet(Aws::String&& value) { m_fleetHasBeenSet = true; m_fleet = std::move(value); }
104 
108  inline void SetFleet(const char* value) { m_fleetHasBeenSet = true; m_fleet.assign(value); }
109 
113  inline SyncDeploymentJobRequest& WithFleet(const Aws::String& value) { SetFleet(value); return *this;}
114 
118  inline SyncDeploymentJobRequest& WithFleet(Aws::String&& value) { SetFleet(std::move(value)); return *this;}
119 
123  inline SyncDeploymentJobRequest& WithFleet(const char* value) { SetFleet(value); return *this;}
124 
125  private:
126 
127  Aws::String m_clientRequestToken;
128  bool m_clientRequestTokenHasBeenSet;
129 
130  Aws::String m_fleet;
131  bool m_fleetHasBeenSet;
132  };
133 
134 } // namespace Model
135 } // namespace RoboMaker
136 } // namespace Aws
Aws::RoboMaker::Model::SyncDeploymentJobRequest::WithClientRequestToken
SyncDeploymentJobRequest & WithClientRequestToken(Aws::String &&value)
Definition: SyncDeploymentJobRequest.h:76
Aws::RoboMaker::Model::SyncDeploymentJobRequest::SetFleet
void SetFleet(const char *value)
Definition: SyncDeploymentJobRequest.h:108
RoboMakerRequest.h
Aws::RoboMaker::Model::SyncDeploymentJobRequest::FleetHasBeenSet
bool FleetHasBeenSet() const
Definition: SyncDeploymentJobRequest.h:93
Aws::RoboMaker::Model::SyncDeploymentJobRequest::SetClientRequestToken
void SetClientRequestToken(Aws::String &&value)
Definition: SyncDeploymentJobRequest.h:58
Aws::RoboMaker::Model::SyncDeploymentJobRequest::SetClientRequestToken
void SetClientRequestToken(const Aws::String &value)
Definition: SyncDeploymentJobRequest.h:52
Aws::RoboMaker::Model::SyncDeploymentJobRequest::GetClientRequestToken
const Aws::String & GetClientRequestToken() const
Definition: SyncDeploymentJobRequest.h:40
AWS_ROBOMAKER_API
#define AWS_ROBOMAKER_API
Definition: RoboMaker_EXPORTS.h:28
RoboMaker_EXPORTS.h
AWSString.h
Aws::RoboMaker::Model::SyncDeploymentJobRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: SyncDeploymentJobRequest.h:31
Aws::RoboMaker::Model::SyncDeploymentJobRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::RoboMaker::Model::SyncDeploymentJobRequest
Definition: SyncDeploymentJobRequest.h:23
Aws::RoboMaker::Model::SyncDeploymentJobRequest::WithClientRequestToken
SyncDeploymentJobRequest & WithClientRequestToken(const char *value)
Definition: SyncDeploymentJobRequest.h:82
Aws::RoboMaker::Model::SyncDeploymentJobRequest::SetClientRequestToken
void SetClientRequestToken(const char *value)
Definition: SyncDeploymentJobRequest.h:64
Aws::RoboMaker::Model::SyncDeploymentJobRequest::WithFleet
SyncDeploymentJobRequest & WithFleet(const Aws::String &value)
Definition: SyncDeploymentJobRequest.h:113
Aws
Definition: AccessManagementClient.h:15
Aws::RoboMaker::Model::SyncDeploymentJobRequest::WithClientRequestToken
SyncDeploymentJobRequest & WithClientRequestToken(const Aws::String &value)
Definition: SyncDeploymentJobRequest.h:70
Aws::RoboMaker::RoboMakerRequest
Definition: RoboMakerRequest.h:17
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::RoboMaker::Model::SyncDeploymentJobRequest::SetFleet
void SetFleet(Aws::String &&value)
Definition: SyncDeploymentJobRequest.h:103
Aws::RoboMaker::Model::SyncDeploymentJobRequest::WithFleet
SyncDeploymentJobRequest & WithFleet(const char *value)
Definition: SyncDeploymentJobRequest.h:123
Aws::RoboMaker::Model::SyncDeploymentJobRequest::WithFleet
SyncDeploymentJobRequest & WithFleet(Aws::String &&value)
Definition: SyncDeploymentJobRequest.h:118
UUID.h
Aws::RoboMaker::Model::SyncDeploymentJobRequest::SyncDeploymentJobRequest
SyncDeploymentJobRequest()
Aws::RoboMaker::Model::SyncDeploymentJobRequest::SetFleet
void SetFleet(const Aws::String &value)
Definition: SyncDeploymentJobRequest.h:98
Aws::RoboMaker::Model::SyncDeploymentJobRequest::GetFleet
const Aws::String & GetFleet() const
Definition: SyncDeploymentJobRequest.h:88
Aws::RoboMaker::Model::SyncDeploymentJobRequest::ClientRequestTokenHasBeenSet
bool ClientRequestTokenHasBeenSet() const
Definition: SyncDeploymentJobRequest.h:46