AWS SDK for C++  1.9.159
AWS SDK for C++
CreateAgentResult.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 template<typename RESULT_TYPE>
14 class AmazonWebServiceResult;
15 
16 namespace Utils
17 {
18 namespace Json
19 {
20  class JsonValue;
21 } // namespace Json
22 } // namespace Utils
23 namespace DataSync
24 {
25 namespace Model
26 {
33  {
34  public:
38 
39 
45  inline const Aws::String& GetAgentArn() const{ return m_agentArn; }
46 
52  inline void SetAgentArn(const Aws::String& value) { m_agentArn = value; }
53 
59  inline void SetAgentArn(Aws::String&& value) { m_agentArn = std::move(value); }
60 
66  inline void SetAgentArn(const char* value) { m_agentArn.assign(value); }
67 
73  inline CreateAgentResult& WithAgentArn(const Aws::String& value) { SetAgentArn(value); return *this;}
74 
80  inline CreateAgentResult& WithAgentArn(Aws::String&& value) { SetAgentArn(std::move(value)); return *this;}
81 
87  inline CreateAgentResult& WithAgentArn(const char* value) { SetAgentArn(value); return *this;}
88 
89  private:
90 
91  Aws::String m_agentArn;
92  };
93 
94 } // namespace Model
95 } // namespace DataSync
96 } // namespace Aws
Aws::DataSync::Model::CreateAgentResult::operator=
CreateAgentResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
AWS_DATASYNC_API
#define AWS_DATASYNC_API
Definition: DataSync_EXPORTS.h:28
Aws::DataSync::Model::CreateAgentResult::WithAgentArn
CreateAgentResult & WithAgentArn(const Aws::String &value)
Definition: CreateAgentResult.h:73
Aws::DataSync::Model::CreateAgentResult::GetAgentArn
const Aws::String & GetAgentArn() const
Definition: CreateAgentResult.h:45
Aws::DataSync::Model::CreateAgentResult::WithAgentArn
CreateAgentResult & WithAgentArn(Aws::String &&value)
Definition: CreateAgentResult.h:80
Aws::DataSync::Model::CreateAgentResult::SetAgentArn
void SetAgentArn(const Aws::String &value)
Definition: CreateAgentResult.h:52
Aws::DataSync::Model::CreateAgentResult::CreateAgentResult
CreateAgentResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::DataSync::Model::CreateAgentResult::WithAgentArn
CreateAgentResult & WithAgentArn(const char *value)
Definition: CreateAgentResult.h:87
AWSString.h
DataSync_EXPORTS.h
Aws::DataSync::Model::CreateAgentResult::CreateAgentResult
CreateAgentResult()
Aws::DataSync::Model::CreateAgentResult::SetAgentArn
void SetAgentArn(Aws::String &&value)
Definition: CreateAgentResult.h:59
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::DataSync::Model::CreateAgentResult::SetAgentArn
void SetAgentArn(const char *value)
Definition: CreateAgentResult.h:66
Aws::DataSync::Model::CreateAgentResult
Definition: CreateAgentResult.h:33