AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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() = default;
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 template<typename AppArnT = Aws::String>
49 void SetAppArn(AppArnT&& value) { m_appArnHasBeenSet = true; m_appArn = std::forward<AppArnT>(value); }
50 template<typename AppArnT = Aws::String>
51 ListAppVersionsRequest& WithAppArn(AppArnT&& value) { SetAppArn(std::forward<AppArnT>(value)); return *this;}
53
55
58 inline const Aws::Utils::DateTime& GetEndTime() const { return m_endTime; }
59 inline bool EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; }
60 template<typename EndTimeT = Aws::Utils::DateTime>
61 void SetEndTime(EndTimeT&& value) { m_endTimeHasBeenSet = true; m_endTime = std::forward<EndTimeT>(value); }
62 template<typename EndTimeT = Aws::Utils::DateTime>
63 ListAppVersionsRequest& WithEndTime(EndTimeT&& value) { SetEndTime(std::forward<EndTimeT>(value)); return *this;}
65
67
72 inline int GetMaxResults() const { return m_maxResults; }
73 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
74 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
75 inline ListAppVersionsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
77
79
82 inline const Aws::String& GetNextToken() const { return m_nextToken; }
83 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
84 template<typename NextTokenT = Aws::String>
85 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::forward<NextTokenT>(value); }
86 template<typename NextTokenT = Aws::String>
87 ListAppVersionsRequest& WithNextToken(NextTokenT&& value) { SetNextToken(std::forward<NextTokenT>(value)); return *this;}
89
91
94 inline const Aws::Utils::DateTime& GetStartTime() const { return m_startTime; }
95 inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; }
96 template<typename StartTimeT = Aws::Utils::DateTime>
97 void SetStartTime(StartTimeT&& value) { m_startTimeHasBeenSet = true; m_startTime = std::forward<StartTimeT>(value); }
98 template<typename StartTimeT = Aws::Utils::DateTime>
99 ListAppVersionsRequest& WithStartTime(StartTimeT&& value) { SetStartTime(std::forward<StartTimeT>(value)); return *this;}
101 private:
102
103 Aws::String m_appArn;
104 bool m_appArnHasBeenSet = false;
105
106 Aws::Utils::DateTime m_endTime{};
107 bool m_endTimeHasBeenSet = false;
108
109 int m_maxResults{0};
110 bool m_maxResultsHasBeenSet = false;
111
112 Aws::String m_nextToken;
113 bool m_nextTokenHasBeenSet = false;
114
115 Aws::Utils::DateTime m_startTime{};
116 bool m_startTimeHasBeenSet = false;
117 };
118
119} // namespace Model
120} // namespace ResilienceHub
121} // namespace Aws
AWS_RESILIENCEHUB_API ListAppVersionsRequest()=default
const Aws::Utils::DateTime & GetStartTime() const
virtual const char * GetServiceRequestName() const override
ListAppVersionsRequest & WithEndTime(EndTimeT &&value)
AWS_RESILIENCEHUB_API Aws::String SerializePayload() const override
ListAppVersionsRequest & WithStartTime(StartTimeT &&value)
ListAppVersionsRequest & WithNextToken(NextTokenT &&value)
ListAppVersionsRequest & WithAppArn(AppArnT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String