AWS SDK for C++  1.9.102
AWS SDK for C++
CreateSolutionResult.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 Personalize
24 {
25 namespace Model
26 {
28  {
29  public:
33 
34 
38  inline const Aws::String& GetSolutionArn() const{ return m_solutionArn; }
39 
43  inline void SetSolutionArn(const Aws::String& value) { m_solutionArn = value; }
44 
48  inline void SetSolutionArn(Aws::String&& value) { m_solutionArn = std::move(value); }
49 
53  inline void SetSolutionArn(const char* value) { m_solutionArn.assign(value); }
54 
58  inline CreateSolutionResult& WithSolutionArn(const Aws::String& value) { SetSolutionArn(value); return *this;}
59 
63  inline CreateSolutionResult& WithSolutionArn(Aws::String&& value) { SetSolutionArn(std::move(value)); return *this;}
64 
68  inline CreateSolutionResult& WithSolutionArn(const char* value) { SetSolutionArn(value); return *this;}
69 
70  private:
71 
72  Aws::String m_solutionArn;
73  };
74 
75 } // namespace Model
76 } // namespace Personalize
77 } // namespace Aws
Aws::Personalize::Model::CreateSolutionResult::CreateSolutionResult
CreateSolutionResult()
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::Personalize::Model::CreateSolutionResult::GetSolutionArn
const Aws::String & GetSolutionArn() const
Definition: CreateSolutionResult.h:38
AWS_PERSONALIZE_API
#define AWS_PERSONALIZE_API
Definition: Personalize_EXPORTS.h:28
Aws::Personalize::Model::CreateSolutionResult::operator=
CreateSolutionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Personalize::Model::CreateSolutionResult::WithSolutionArn
CreateSolutionResult & WithSolutionArn(const Aws::String &value)
Definition: CreateSolutionResult.h:58
Aws::Personalize::Model::CreateSolutionResult::SetSolutionArn
void SetSolutionArn(const char *value)
Definition: CreateSolutionResult.h:53
AWSString.h
Aws::Personalize::Model::CreateSolutionResult::SetSolutionArn
void SetSolutionArn(const Aws::String &value)
Definition: CreateSolutionResult.h:43
Aws::Personalize::Model::CreateSolutionResult
Definition: CreateSolutionResult.h:28
Aws::Personalize::Model::CreateSolutionResult::WithSolutionArn
CreateSolutionResult & WithSolutionArn(const char *value)
Definition: CreateSolutionResult.h:68
Aws::Personalize::Model::CreateSolutionResult::WithSolutionArn
CreateSolutionResult & WithSolutionArn(Aws::String &&value)
Definition: CreateSolutionResult.h:63
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Personalize::Model::CreateSolutionResult::SetSolutionArn
void SetSolutionArn(Aws::String &&value)
Definition: CreateSolutionResult.h:48
Personalize_EXPORTS.h
Aws::Personalize::Model::CreateSolutionResult::CreateSolutionResult
CreateSolutionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)