AWS SDK for C++  1.9.160
AWS SDK for C++
UpdateWorkloadShareResult.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 template<typename RESULT_TYPE>
15 class AmazonWebServiceResult;
16 
17 namespace Utils
18 {
19 namespace Json
20 {
21  class JsonValue;
22 } // namespace Json
23 } // namespace Utils
24 namespace WellArchitected
25 {
26 namespace Model
27 {
34  {
35  public:
39 
40 
41 
42  inline const Aws::String& GetWorkloadId() const{ return m_workloadId; }
43 
44 
45  inline void SetWorkloadId(const Aws::String& value) { m_workloadId = value; }
46 
47 
48  inline void SetWorkloadId(Aws::String&& value) { m_workloadId = std::move(value); }
49 
50 
51  inline void SetWorkloadId(const char* value) { m_workloadId.assign(value); }
52 
53 
54  inline UpdateWorkloadShareResult& WithWorkloadId(const Aws::String& value) { SetWorkloadId(value); return *this;}
55 
56 
57  inline UpdateWorkloadShareResult& WithWorkloadId(Aws::String&& value) { SetWorkloadId(std::move(value)); return *this;}
58 
59 
60  inline UpdateWorkloadShareResult& WithWorkloadId(const char* value) { SetWorkloadId(value); return *this;}
61 
62 
63 
64  inline const WorkloadShare& GetWorkloadShare() const{ return m_workloadShare; }
65 
66 
67  inline void SetWorkloadShare(const WorkloadShare& value) { m_workloadShare = value; }
68 
69 
70  inline void SetWorkloadShare(WorkloadShare&& value) { m_workloadShare = std::move(value); }
71 
72 
73  inline UpdateWorkloadShareResult& WithWorkloadShare(const WorkloadShare& value) { SetWorkloadShare(value); return *this;}
74 
75 
76  inline UpdateWorkloadShareResult& WithWorkloadShare(WorkloadShare&& value) { SetWorkloadShare(std::move(value)); return *this;}
77 
78  private:
79 
80  Aws::String m_workloadId;
81 
82  WorkloadShare m_workloadShare;
83  };
84 
85 } // namespace Model
86 } // namespace WellArchitected
87 } // namespace Aws
WorkloadShare.h
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::WellArchitected::Model::UpdateWorkloadShareResult::operator=
UpdateWorkloadShareResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
WellArchitected_EXPORTS.h
Aws::WellArchitected::Model::UpdateWorkloadShareResult::WithWorkloadShare
UpdateWorkloadShareResult & WithWorkloadShare(const WorkloadShare &value)
Definition: UpdateWorkloadShareResult.h:73
Aws::WellArchitected::Model::UpdateWorkloadShareResult
Definition: UpdateWorkloadShareResult.h:34
Aws::WellArchitected::Model::UpdateWorkloadShareResult::GetWorkloadId
const Aws::String & GetWorkloadId() const
Definition: UpdateWorkloadShareResult.h:42
Aws::WellArchitected::Model::UpdateWorkloadShareResult::GetWorkloadShare
const WorkloadShare & GetWorkloadShare() const
Definition: UpdateWorkloadShareResult.h:64
Aws::WellArchitected::Model::UpdateWorkloadShareResult::WithWorkloadId
UpdateWorkloadShareResult & WithWorkloadId(const char *value)
Definition: UpdateWorkloadShareResult.h:60
Aws::WellArchitected::Model::UpdateWorkloadShareResult::UpdateWorkloadShareResult
UpdateWorkloadShareResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::WellArchitected::Model::UpdateWorkloadShareResult::WithWorkloadShare
UpdateWorkloadShareResult & WithWorkloadShare(WorkloadShare &&value)
Definition: UpdateWorkloadShareResult.h:76
Aws::WellArchitected::Model::WorkloadShare
Definition: WorkloadShare.h:34
Aws::WellArchitected::Model::UpdateWorkloadShareResult::WithWorkloadId
UpdateWorkloadShareResult & WithWorkloadId(const Aws::String &value)
Definition: UpdateWorkloadShareResult.h:54
Aws::WellArchitected::Model::UpdateWorkloadShareResult::SetWorkloadShare
void SetWorkloadShare(const WorkloadShare &value)
Definition: UpdateWorkloadShareResult.h:67
Aws::WellArchitected::Model::UpdateWorkloadShareResult::SetWorkloadShare
void SetWorkloadShare(WorkloadShare &&value)
Definition: UpdateWorkloadShareResult.h:70
Aws::WellArchitected::Model::UpdateWorkloadShareResult::UpdateWorkloadShareResult
UpdateWorkloadShareResult()
AWSString.h
Aws::WellArchitected::Model::UpdateWorkloadShareResult::SetWorkloadId
void SetWorkloadId(const Aws::String &value)
Definition: UpdateWorkloadShareResult.h:45
AWS_WELLARCHITECTED_API
#define AWS_WELLARCHITECTED_API
Definition: WellArchitected_EXPORTS.h:28
Aws::WellArchitected::Model::UpdateWorkloadShareResult::WithWorkloadId
UpdateWorkloadShareResult & WithWorkloadId(Aws::String &&value)
Definition: UpdateWorkloadShareResult.h:57
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::WellArchitected::Model::UpdateWorkloadShareResult::SetWorkloadId
void SetWorkloadId(const char *value)
Definition: UpdateWorkloadShareResult.h:51
Aws::WellArchitected::Model::UpdateWorkloadShareResult::SetWorkloadId
void SetWorkloadId(Aws::String &&value)
Definition: UpdateWorkloadShareResult.h:48