AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateMilestoneResult.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 CreateMilestoneResult();
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 CreateMilestoneResult& WithWorkloadId(const Aws::String& value) { SetWorkloadId(value); return *this;}
47 inline CreateMilestoneResult& WithWorkloadId(Aws::String&& value) { SetWorkloadId(std::move(value)); return *this;}
48 inline CreateMilestoneResult& WithWorkloadId(const char* value) { SetWorkloadId(value); return *this;}
50
52
53 inline int GetMilestoneNumber() const{ return m_milestoneNumber; }
54 inline void SetMilestoneNumber(int value) { m_milestoneNumber = value; }
55 inline CreateMilestoneResult& WithMilestoneNumber(int value) { SetMilestoneNumber(value); return *this;}
57
59
60 inline const Aws::String& GetRequestId() const{ return m_requestId; }
61 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
62 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
63 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
64 inline CreateMilestoneResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
65 inline CreateMilestoneResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
66 inline CreateMilestoneResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
68 private:
69
70 Aws::String m_workloadId;
71
72 int m_milestoneNumber;
73
74 Aws::String m_requestId;
75 };
76
77} // namespace Model
78} // namespace WellArchitected
79} // namespace Aws
CreateMilestoneResult & WithWorkloadId(const char *value)
CreateMilestoneResult & WithRequestId(const Aws::String &value)
CreateMilestoneResult & WithRequestId(Aws::String &&value)
CreateMilestoneResult & WithWorkloadId(const Aws::String &value)
AWS_WELLARCHITECTED_API CreateMilestoneResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateMilestoneResult & WithWorkloadId(Aws::String &&value)
CreateMilestoneResult & WithMilestoneNumber(int value)
CreateMilestoneResult & WithRequestId(const char *value)
AWS_WELLARCHITECTED_API CreateMilestoneResult(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