AWS SDK for C++  1.9.157
AWS SDK for C++
CreateUseCaseResult.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 Connect
24 {
25 namespace Model
26 {
28  {
29  public:
33 
34 
38  inline const Aws::String& GetUseCaseId() const{ return m_useCaseId; }
39 
43  inline void SetUseCaseId(const Aws::String& value) { m_useCaseId = value; }
44 
48  inline void SetUseCaseId(Aws::String&& value) { m_useCaseId = std::move(value); }
49 
53  inline void SetUseCaseId(const char* value) { m_useCaseId.assign(value); }
54 
58  inline CreateUseCaseResult& WithUseCaseId(const Aws::String& value) { SetUseCaseId(value); return *this;}
59 
63  inline CreateUseCaseResult& WithUseCaseId(Aws::String&& value) { SetUseCaseId(std::move(value)); return *this;}
64 
68  inline CreateUseCaseResult& WithUseCaseId(const char* value) { SetUseCaseId(value); return *this;}
69 
70 
74  inline const Aws::String& GetUseCaseArn() const{ return m_useCaseArn; }
75 
79  inline void SetUseCaseArn(const Aws::String& value) { m_useCaseArn = value; }
80 
84  inline void SetUseCaseArn(Aws::String&& value) { m_useCaseArn = std::move(value); }
85 
89  inline void SetUseCaseArn(const char* value) { m_useCaseArn.assign(value); }
90 
94  inline CreateUseCaseResult& WithUseCaseArn(const Aws::String& value) { SetUseCaseArn(value); return *this;}
95 
99  inline CreateUseCaseResult& WithUseCaseArn(Aws::String&& value) { SetUseCaseArn(std::move(value)); return *this;}
100 
104  inline CreateUseCaseResult& WithUseCaseArn(const char* value) { SetUseCaseArn(value); return *this;}
105 
106  private:
107 
108  Aws::String m_useCaseId;
109 
110  Aws::String m_useCaseArn;
111  };
112 
113 } // namespace Model
114 } // namespace Connect
115 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::Connect::Model::CreateUseCaseResult::GetUseCaseId
const Aws::String & GetUseCaseId() const
Definition: CreateUseCaseResult.h:38
Aws::Connect::Model::CreateUseCaseResult::GetUseCaseArn
const Aws::String & GetUseCaseArn() const
Definition: CreateUseCaseResult.h:74
Aws::Connect::Model::CreateUseCaseResult::SetUseCaseArn
void SetUseCaseArn(const Aws::String &value)
Definition: CreateUseCaseResult.h:79
Aws::Connect::Model::CreateUseCaseResult::WithUseCaseId
CreateUseCaseResult & WithUseCaseId(Aws::String &&value)
Definition: CreateUseCaseResult.h:63
Aws::Connect::Model::CreateUseCaseResult::WithUseCaseArn
CreateUseCaseResult & WithUseCaseArn(const Aws::String &value)
Definition: CreateUseCaseResult.h:94
Aws::Connect::Model::CreateUseCaseResult::SetUseCaseId
void SetUseCaseId(const Aws::String &value)
Definition: CreateUseCaseResult.h:43
Aws::Connect::Model::CreateUseCaseResult::WithUseCaseArn
CreateUseCaseResult & WithUseCaseArn(const char *value)
Definition: CreateUseCaseResult.h:104
Aws::Connect::Model::CreateUseCaseResult::operator=
CreateUseCaseResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Connect::Model::CreateUseCaseResult::CreateUseCaseResult
CreateUseCaseResult()
Aws::Connect::Model::CreateUseCaseResult::SetUseCaseArn
void SetUseCaseArn(Aws::String &&value)
Definition: CreateUseCaseResult.h:84
Aws::Connect::Model::CreateUseCaseResult::SetUseCaseId
void SetUseCaseId(Aws::String &&value)
Definition: CreateUseCaseResult.h:48
AWSString.h
Aws::Connect::Model::CreateUseCaseResult::WithUseCaseId
CreateUseCaseResult & WithUseCaseId(const char *value)
Definition: CreateUseCaseResult.h:68
Aws::Connect::Model::CreateUseCaseResult::SetUseCaseArn
void SetUseCaseArn(const char *value)
Definition: CreateUseCaseResult.h:89
Aws::Connect::Model::CreateUseCaseResult
Definition: CreateUseCaseResult.h:28
Aws::Connect::Model::CreateUseCaseResult::WithUseCaseArn
CreateUseCaseResult & WithUseCaseArn(Aws::String &&value)
Definition: CreateUseCaseResult.h:99
Aws::Connect::Model::CreateUseCaseResult::SetUseCaseId
void SetUseCaseId(const char *value)
Definition: CreateUseCaseResult.h:53
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::Connect::Model::CreateUseCaseResult::WithUseCaseId
CreateUseCaseResult & WithUseCaseId(const Aws::String &value)
Definition: CreateUseCaseResult.h:58
AWS_CONNECT_API
#define AWS_CONNECT_API
Definition: Connect_EXPORTS.h:28
Connect_EXPORTS.h
Aws::Connect::Model::CreateUseCaseResult::CreateUseCaseResult
CreateUseCaseResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)