AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateWorkloadResult.h
1
6#pragma once
7#include <aws/wellarchitected/WellArchitected_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13template<typename RESULT_TYPE>
14class AmazonWebServiceResult;
15
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace WellArchitected
24{
25namespace Model
26{
33 {
34 public:
35 AWS_WELLARCHITECTED_API CreateWorkloadResult();
38
39
41
42 inline const Aws::String& GetWorkloadId() const{ return m_workloadId; }
43 inline void SetWorkloadId(const Aws::String& value) { m_workloadId = value; }
44 inline void SetWorkloadId(Aws::String&& value) { m_workloadId = std::move(value); }
45 inline void SetWorkloadId(const char* value) { m_workloadId.assign(value); }
46 inline CreateWorkloadResult& WithWorkloadId(const Aws::String& value) { SetWorkloadId(value); return *this;}
47 inline CreateWorkloadResult& WithWorkloadId(Aws::String&& value) { SetWorkloadId(std::move(value)); return *this;}
48 inline CreateWorkloadResult& WithWorkloadId(const char* value) { SetWorkloadId(value); return *this;}
50
52
53 inline const Aws::String& GetWorkloadArn() const{ return m_workloadArn; }
54 inline void SetWorkloadArn(const Aws::String& value) { m_workloadArn = value; }
55 inline void SetWorkloadArn(Aws::String&& value) { m_workloadArn = std::move(value); }
56 inline void SetWorkloadArn(const char* value) { m_workloadArn.assign(value); }
57 inline CreateWorkloadResult& WithWorkloadArn(const Aws::String& value) { SetWorkloadArn(value); return *this;}
58 inline CreateWorkloadResult& WithWorkloadArn(Aws::String&& value) { SetWorkloadArn(std::move(value)); return *this;}
59 inline CreateWorkloadResult& WithWorkloadArn(const char* value) { SetWorkloadArn(value); return *this;}
61
63
64 inline const Aws::String& GetRequestId() const{ return m_requestId; }
65 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
66 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
67 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
68 inline CreateWorkloadResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
69 inline CreateWorkloadResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
70 inline CreateWorkloadResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
72 private:
73
74 Aws::String m_workloadId;
75
76 Aws::String m_workloadArn;
77
78 Aws::String m_requestId;
79 };
80
81} // namespace Model
82} // namespace WellArchitected
83} // namespace Aws
CreateWorkloadResult & WithRequestId(const Aws::String &value)
CreateWorkloadResult & WithWorkloadId(Aws::String &&value)
CreateWorkloadResult & WithWorkloadArn(Aws::String &&value)
CreateWorkloadResult & WithWorkloadId(const char *value)
CreateWorkloadResult & WithWorkloadArn(const char *value)
AWS_WELLARCHITECTED_API CreateWorkloadResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateWorkloadResult & WithWorkloadId(const Aws::String &value)
CreateWorkloadResult & WithWorkloadArn(const Aws::String &value)
CreateWorkloadResult & WithRequestId(const char *value)
CreateWorkloadResult & WithRequestId(Aws::String &&value)
AWS_WELLARCHITECTED_API CreateWorkloadResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue