AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
ListRotationOverridesRequest.h
1
6#pragma once
7#include <aws/ssm-contacts/SSMContacts_EXPORTS.h>
8#include <aws/ssm-contacts/SSMContactsRequest.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 SSMContacts
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_SSMCONTACTS_API ListRotationOverridesRequest() = 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 "ListRotationOverrides"; }
32
33 AWS_SSMCONTACTS_API Aws::String SerializePayload() const override;
34
35 AWS_SSMCONTACTS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
36
37
39
43 inline const Aws::String& GetRotationId() const { return m_rotationId; }
44 inline bool RotationIdHasBeenSet() const { return m_rotationIdHasBeenSet; }
45 template<typename RotationIdT = Aws::String>
46 void SetRotationId(RotationIdT&& value) { m_rotationIdHasBeenSet = true; m_rotationId = std::forward<RotationIdT>(value); }
47 template<typename RotationIdT = Aws::String>
48 ListRotationOverridesRequest& WithRotationId(RotationIdT&& value) { SetRotationId(std::forward<RotationIdT>(value)); return *this;}
50
52
56 inline const Aws::Utils::DateTime& GetStartTime() const { return m_startTime; }
57 inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; }
58 template<typename StartTimeT = Aws::Utils::DateTime>
59 void SetStartTime(StartTimeT&& value) { m_startTimeHasBeenSet = true; m_startTime = std::forward<StartTimeT>(value); }
60 template<typename StartTimeT = Aws::Utils::DateTime>
61 ListRotationOverridesRequest& WithStartTime(StartTimeT&& value) { SetStartTime(std::forward<StartTimeT>(value)); return *this;}
63
65
68 inline const Aws::Utils::DateTime& GetEndTime() const { return m_endTime; }
69 inline bool EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; }
70 template<typename EndTimeT = Aws::Utils::DateTime>
71 void SetEndTime(EndTimeT&& value) { m_endTimeHasBeenSet = true; m_endTime = std::forward<EndTimeT>(value); }
72 template<typename EndTimeT = Aws::Utils::DateTime>
73 ListRotationOverridesRequest& WithEndTime(EndTimeT&& value) { SetEndTime(std::forward<EndTimeT>(value)); return *this;}
75
77
80 inline const Aws::String& GetNextToken() const { return m_nextToken; }
81 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
82 template<typename NextTokenT = Aws::String>
83 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::forward<NextTokenT>(value); }
84 template<typename NextTokenT = Aws::String>
85 ListRotationOverridesRequest& WithNextToken(NextTokenT&& value) { SetNextToken(std::forward<NextTokenT>(value)); return *this;}
87
89
94 inline int GetMaxResults() const { return m_maxResults; }
95 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
96 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
97 inline ListRotationOverridesRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
99 private:
100
101 Aws::String m_rotationId;
102 bool m_rotationIdHasBeenSet = false;
103
104 Aws::Utils::DateTime m_startTime{};
105 bool m_startTimeHasBeenSet = false;
106
107 Aws::Utils::DateTime m_endTime{};
108 bool m_endTimeHasBeenSet = false;
109
110 Aws::String m_nextToken;
111 bool m_nextTokenHasBeenSet = false;
112
113 int m_maxResults{0};
114 bool m_maxResultsHasBeenSet = false;
115 };
116
117} // namespace Model
118} // namespace SSMContacts
119} // namespace Aws
ListRotationOverridesRequest & WithNextToken(NextTokenT &&value)
AWS_SSMCONTACTS_API Aws::String SerializePayload() const override
ListRotationOverridesRequest & WithStartTime(StartTimeT &&value)
AWS_SSMCONTACTS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
ListRotationOverridesRequest & WithEndTime(EndTimeT &&value)
AWS_SSMCONTACTS_API ListRotationOverridesRequest()=default
ListRotationOverridesRequest & WithRotationId(RotationIdT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String