AWS SDK for C++  1.9.40
AWS SDK for C++
ListMilestonesRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace WellArchitected
15 {
16 namespace Model
17 {
18 
25  {
26  public:
28 
29  // Service request name is the Operation name which will send this request out,
30  // each operation should has unique request name, so that we can get operation's name from this request.
31  // Note: this is not true for response, multiple operations may have the same response name,
32  // so we can not get operation's name from response.
33  inline virtual const char* GetServiceRequestName() const override { return "ListMilestones"; }
34 
35  Aws::String SerializePayload() const override;
36 
37 
38 
39  inline const Aws::String& GetWorkloadId() const{ return m_workloadId; }
40 
41 
42  inline bool WorkloadIdHasBeenSet() const { return m_workloadIdHasBeenSet; }
43 
44 
45  inline void SetWorkloadId(const Aws::String& value) { m_workloadIdHasBeenSet = true; m_workloadId = value; }
46 
47 
48  inline void SetWorkloadId(Aws::String&& value) { m_workloadIdHasBeenSet = true; m_workloadId = std::move(value); }
49 
50 
51  inline void SetWorkloadId(const char* value) { m_workloadIdHasBeenSet = true; m_workloadId.assign(value); }
52 
53 
54  inline ListMilestonesRequest& WithWorkloadId(const Aws::String& value) { SetWorkloadId(value); return *this;}
55 
56 
57  inline ListMilestonesRequest& WithWorkloadId(Aws::String&& value) { SetWorkloadId(std::move(value)); return *this;}
58 
59 
60  inline ListMilestonesRequest& WithWorkloadId(const char* value) { SetWorkloadId(value); return *this;}
61 
62 
63 
64  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
65 
66 
67  inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
68 
69 
70  inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
71 
72 
73  inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
74 
75 
76  inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
77 
78 
79  inline ListMilestonesRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
80 
81 
82  inline ListMilestonesRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
83 
84 
85  inline ListMilestonesRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
86 
87 
88 
89  inline int GetMaxResults() const{ return m_maxResults; }
90 
91 
92  inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
93 
94 
95  inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
96 
97 
98  inline ListMilestonesRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
99 
100  private:
101 
102  Aws::String m_workloadId;
103  bool m_workloadIdHasBeenSet;
104 
105  Aws::String m_nextToken;
106  bool m_nextTokenHasBeenSet;
107 
108  int m_maxResults;
109  bool m_maxResultsHasBeenSet;
110  };
111 
112 } // namespace Model
113 } // namespace WellArchitected
114 } // namespace Aws
WellArchitectedRequest.h
Aws::WellArchitected::Model::ListMilestonesRequest::WithWorkloadId
ListMilestonesRequest & WithWorkloadId(Aws::String &&value)
Definition: ListMilestonesRequest.h:57
Aws::WellArchitected::Model::ListMilestonesRequest::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListMilestonesRequest.h:64
WellArchitected_EXPORTS.h
Aws::WellArchitected::Model::ListMilestonesRequest::WithWorkloadId
ListMilestonesRequest & WithWorkloadId(const Aws::String &value)
Definition: ListMilestonesRequest.h:54
Aws::WellArchitected::Model::ListMilestonesRequest::SetWorkloadId
void SetWorkloadId(const char *value)
Definition: ListMilestonesRequest.h:51
Aws::WellArchitected::Model::ListMilestonesRequest::WithNextToken
ListMilestonesRequest & WithNextToken(Aws::String &&value)
Definition: ListMilestonesRequest.h:82
Aws::WellArchitected::Model::ListMilestonesRequest::WorkloadIdHasBeenSet
bool WorkloadIdHasBeenSet() const
Definition: ListMilestonesRequest.h:42
Aws::WellArchitected::Model::ListMilestonesRequest::MaxResultsHasBeenSet
bool MaxResultsHasBeenSet() const
Definition: ListMilestonesRequest.h:92
Aws::WellArchitected::Model::ListMilestonesRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::WellArchitected::WellArchitectedRequest
Definition: WellArchitectedRequest.h:17
Aws::WellArchitected::Model::ListMilestonesRequest::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListMilestonesRequest.h:73
Aws::WellArchitected::Model::ListMilestonesRequest::WithMaxResults
ListMilestonesRequest & WithMaxResults(int value)
Definition: ListMilestonesRequest.h:98
Aws::WellArchitected::Model::ListMilestonesRequest::GetMaxResults
int GetMaxResults() const
Definition: ListMilestonesRequest.h:89
Aws::WellArchitected::Model::ListMilestonesRequest::WithNextToken
ListMilestonesRequest & WithNextToken(const char *value)
Definition: ListMilestonesRequest.h:85
Aws::WellArchitected::Model::ListMilestonesRequest::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListMilestonesRequest.h:70
Aws::WellArchitected::Model::ListMilestonesRequest::SetWorkloadId
void SetWorkloadId(Aws::String &&value)
Definition: ListMilestonesRequest.h:48
Aws::WellArchitected::Model::ListMilestonesRequest::ListMilestonesRequest
ListMilestonesRequest()
Aws::WellArchitected::Model::ListMilestonesRequest::NextTokenHasBeenSet
bool NextTokenHasBeenSet() const
Definition: ListMilestonesRequest.h:67
Aws::WellArchitected::Model::ListMilestonesRequest::SetWorkloadId
void SetWorkloadId(const Aws::String &value)
Definition: ListMilestonesRequest.h:45
AWSString.h
Aws::WellArchitected::Model::ListMilestonesRequest::WithNextToken
ListMilestonesRequest & WithNextToken(const Aws::String &value)
Definition: ListMilestonesRequest.h:79
Aws::WellArchitected::Model::ListMilestonesRequest
Definition: ListMilestonesRequest.h:25
Aws::WellArchitected::Model::ListMilestonesRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: ListMilestonesRequest.h:33
Aws::WellArchitected::Model::ListMilestonesRequest::SetNextToken
void SetNextToken(const char *value)
Definition: ListMilestonesRequest.h:76
Aws::WellArchitected::Model::ListMilestonesRequest::SetMaxResults
void SetMaxResults(int value)
Definition: ListMilestonesRequest.h:95
Aws::WellArchitected::Model::ListMilestonesRequest::WithWorkloadId
ListMilestonesRequest & WithWorkloadId(const char *value)
Definition: ListMilestonesRequest.h:60
AWS_WELLARCHITECTED_API
#define AWS_WELLARCHITECTED_API
Definition: WellArchitected_EXPORTS.h:28
Aws
Definition: AccessManagementClient.h:15
Aws::WellArchitected::Model::ListMilestonesRequest::GetWorkloadId
const Aws::String & GetWorkloadId() const
Definition: ListMilestonesRequest.h:39
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97