AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ListAppVersionsRequest.h
1
6#pragma once
7#include <aws/resiliencehub/ResilienceHub_EXPORTS.h>
8#include <aws/resiliencehub/ResilienceHubRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/DateTime.h>
11#include <utility>
12
13namespace Aws
14{
15namespace ResilienceHub
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_RESILIENCEHUB_API ListAppVersionsRequest();
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "ListAppVersions"; }
32
33 AWS_RESILIENCEHUB_API Aws::String SerializePayload() const override;
34
35
37
46 inline const Aws::String& GetAppArn() const{ return m_appArn; }
47 inline bool AppArnHasBeenSet() const { return m_appArnHasBeenSet; }
48 inline void SetAppArn(const Aws::String& value) { m_appArnHasBeenSet = true; m_appArn = value; }
49 inline void SetAppArn(Aws::String&& value) { m_appArnHasBeenSet = true; m_appArn = std::move(value); }
50 inline void SetAppArn(const char* value) { m_appArnHasBeenSet = true; m_appArn.assign(value); }
51 inline ListAppVersionsRequest& WithAppArn(const Aws::String& value) { SetAppArn(value); return *this;}
52 inline ListAppVersionsRequest& WithAppArn(Aws::String&& value) { SetAppArn(std::move(value)); return *this;}
53 inline ListAppVersionsRequest& WithAppArn(const char* value) { SetAppArn(value); return *this;}
55
57
60 inline const Aws::Utils::DateTime& GetEndTime() const{ return m_endTime; }
61 inline bool EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; }
62 inline void SetEndTime(const Aws::Utils::DateTime& value) { m_endTimeHasBeenSet = true; m_endTime = value; }
63 inline void SetEndTime(Aws::Utils::DateTime&& value) { m_endTimeHasBeenSet = true; m_endTime = std::move(value); }
64 inline ListAppVersionsRequest& WithEndTime(const Aws::Utils::DateTime& value) { SetEndTime(value); return *this;}
65 inline ListAppVersionsRequest& WithEndTime(Aws::Utils::DateTime&& value) { SetEndTime(std::move(value)); return *this;}
67
69
74 inline int GetMaxResults() const{ return m_maxResults; }
75 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
76 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
77 inline ListAppVersionsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
79
81
84 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
85 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
86 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
87 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
88 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
89 inline ListAppVersionsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
90 inline ListAppVersionsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
91 inline ListAppVersionsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
93
95
98 inline const Aws::Utils::DateTime& GetStartTime() const{ return m_startTime; }
99 inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; }
100 inline void SetStartTime(const Aws::Utils::DateTime& value) { m_startTimeHasBeenSet = true; m_startTime = value; }
101 inline void SetStartTime(Aws::Utils::DateTime&& value) { m_startTimeHasBeenSet = true; m_startTime = std::move(value); }
102 inline ListAppVersionsRequest& WithStartTime(const Aws::Utils::DateTime& value) { SetStartTime(value); return *this;}
103 inline ListAppVersionsRequest& WithStartTime(Aws::Utils::DateTime&& value) { SetStartTime(std::move(value)); return *this;}
105 private:
106
107 Aws::String m_appArn;
108 bool m_appArnHasBeenSet = false;
109
110 Aws::Utils::DateTime m_endTime;
111 bool m_endTimeHasBeenSet = false;
112
113 int m_maxResults;
114 bool m_maxResultsHasBeenSet = false;
115
116 Aws::String m_nextToken;
117 bool m_nextTokenHasBeenSet = false;
118
119 Aws::Utils::DateTime m_startTime;
120 bool m_startTimeHasBeenSet = false;
121 };
122
123} // namespace Model
124} // namespace ResilienceHub
125} // namespace Aws
void SetStartTime(const Aws::Utils::DateTime &value)
ListAppVersionsRequest & WithAppArn(const Aws::String &value)
const Aws::Utils::DateTime & GetStartTime() const
ListAppVersionsRequest & WithNextToken(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
ListAppVersionsRequest & WithAppArn(Aws::String &&value)
ListAppVersionsRequest & WithStartTime(Aws::Utils::DateTime &&value)
ListAppVersionsRequest & WithEndTime(const Aws::Utils::DateTime &value)
void SetEndTime(const Aws::Utils::DateTime &value)
AWS_RESILIENCEHUB_API Aws::String SerializePayload() const override
ListAppVersionsRequest & WithStartTime(const Aws::Utils::DateTime &value)
ListAppVersionsRequest & WithEndTime(Aws::Utils::DateTime &&value)
ListAppVersionsRequest & WithAppArn(const char *value)
ListAppVersionsRequest & WithNextToken(const char *value)
ListAppVersionsRequest & WithNextToken(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String