AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ListMilestonesResult.h
1
6#pragma once
7#include <aws/wellarchitected/WellArchitected_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/wellarchitected/model/MilestoneSummary.h>
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace WellArchitected
26{
27namespace Model
28{
35 {
36 public:
37 AWS_WELLARCHITECTED_API ListMilestonesResult();
40
41
43
44 inline const Aws::String& GetWorkloadId() const{ return m_workloadId; }
45 inline void SetWorkloadId(const Aws::String& value) { m_workloadId = value; }
46 inline void SetWorkloadId(Aws::String&& value) { m_workloadId = std::move(value); }
47 inline void SetWorkloadId(const char* value) { m_workloadId.assign(value); }
48 inline ListMilestonesResult& WithWorkloadId(const Aws::String& value) { SetWorkloadId(value); return *this;}
49 inline ListMilestonesResult& WithWorkloadId(Aws::String&& value) { SetWorkloadId(std::move(value)); return *this;}
50 inline ListMilestonesResult& WithWorkloadId(const char* value) { SetWorkloadId(value); return *this;}
52
54
55 inline const Aws::Vector<MilestoneSummary>& GetMilestoneSummaries() const{ return m_milestoneSummaries; }
56 inline void SetMilestoneSummaries(const Aws::Vector<MilestoneSummary>& value) { m_milestoneSummaries = value; }
57 inline void SetMilestoneSummaries(Aws::Vector<MilestoneSummary>&& value) { m_milestoneSummaries = std::move(value); }
60 inline ListMilestonesResult& AddMilestoneSummaries(const MilestoneSummary& value) { m_milestoneSummaries.push_back(value); return *this; }
61 inline ListMilestonesResult& AddMilestoneSummaries(MilestoneSummary&& value) { m_milestoneSummaries.push_back(std::move(value)); return *this; }
63
65
66 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
67 inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
68 inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
69 inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
70 inline ListMilestonesResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
71 inline ListMilestonesResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
72 inline ListMilestonesResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
74
76
77 inline const Aws::String& GetRequestId() const{ return m_requestId; }
78 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
79 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
80 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
81 inline ListMilestonesResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
82 inline ListMilestonesResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
83 inline ListMilestonesResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
85 private:
86
87 Aws::String m_workloadId;
88
89 Aws::Vector<MilestoneSummary> m_milestoneSummaries;
90
91 Aws::String m_nextToken;
92
93 Aws::String m_requestId;
94 };
95
96} // namespace Model
97} // namespace WellArchitected
98} // namespace Aws
void SetMilestoneSummaries(Aws::Vector< MilestoneSummary > &&value)
ListMilestonesResult & WithRequestId(const char *value)
ListMilestonesResult & AddMilestoneSummaries(const MilestoneSummary &value)
void SetMilestoneSummaries(const Aws::Vector< MilestoneSummary > &value)
ListMilestonesResult & AddMilestoneSummaries(MilestoneSummary &&value)
ListMilestonesResult & WithNextToken(const Aws::String &value)
ListMilestonesResult & WithMilestoneSummaries(const Aws::Vector< MilestoneSummary > &value)
ListMilestonesResult & WithWorkloadId(const Aws::String &value)
ListMilestonesResult & WithNextToken(const char *value)
ListMilestonesResult & WithWorkloadId(Aws::String &&value)
ListMilestonesResult & WithRequestId(Aws::String &&value)
AWS_WELLARCHITECTED_API ListMilestonesResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
ListMilestonesResult & WithWorkloadId(const char *value)
const Aws::Vector< MilestoneSummary > & GetMilestoneSummaries() const
ListMilestonesResult & WithNextToken(Aws::String &&value)
AWS_WELLARCHITECTED_API ListMilestonesResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
ListMilestonesResult & WithMilestoneSummaries(Aws::Vector< MilestoneSummary > &&value)
ListMilestonesResult & WithRequestId(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue