AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetRotationId(const Aws::String& value) { m_rotationIdHasBeenSet = true; m_rotationId = value; }
46 inline void SetRotationId(Aws::String&& value) { m_rotationIdHasBeenSet = true; m_rotationId = std::move(value); }
47 inline void SetRotationId(const char* value) { m_rotationIdHasBeenSet = true; m_rotationId.assign(value); }
48 inline ListRotationOverridesRequest& WithRotationId(const Aws::String& value) { SetRotationId(value); return *this;}
49 inline ListRotationOverridesRequest& WithRotationId(Aws::String&& value) { SetRotationId(std::move(value)); return *this;}
50 inline ListRotationOverridesRequest& WithRotationId(const char* value) { SetRotationId(value); return *this;}
52
54
58 inline const Aws::Utils::DateTime& GetStartTime() const{ return m_startTime; }
59 inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; }
60 inline void SetStartTime(const Aws::Utils::DateTime& value) { m_startTimeHasBeenSet = true; m_startTime = value; }
61 inline void SetStartTime(Aws::Utils::DateTime&& value) { m_startTimeHasBeenSet = true; m_startTime = std::move(value); }
62 inline ListRotationOverridesRequest& WithStartTime(const Aws::Utils::DateTime& value) { SetStartTime(value); return *this;}
63 inline ListRotationOverridesRequest& WithStartTime(Aws::Utils::DateTime&& value) { SetStartTime(std::move(value)); return *this;}
65
67
70 inline const Aws::Utils::DateTime& GetEndTime() const{ return m_endTime; }
71 inline bool EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; }
72 inline void SetEndTime(const Aws::Utils::DateTime& value) { m_endTimeHasBeenSet = true; m_endTime = value; }
73 inline void SetEndTime(Aws::Utils::DateTime&& value) { m_endTimeHasBeenSet = true; m_endTime = std::move(value); }
74 inline ListRotationOverridesRequest& WithEndTime(const Aws::Utils::DateTime& value) { SetEndTime(value); return *this;}
75 inline ListRotationOverridesRequest& WithEndTime(Aws::Utils::DateTime&& value) { SetEndTime(std::move(value)); return *this;}
77
79
82 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
83 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
84 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
85 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
86 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
87 inline ListRotationOverridesRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
88 inline ListRotationOverridesRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
89 inline ListRotationOverridesRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
91
93
98 inline int GetMaxResults() const{ return m_maxResults; }
99 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
100 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
101 inline ListRotationOverridesRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
103 private:
104
105 Aws::String m_rotationId;
106 bool m_rotationIdHasBeenSet = false;
107
108 Aws::Utils::DateTime m_startTime;
109 bool m_startTimeHasBeenSet = false;
110
111 Aws::Utils::DateTime m_endTime;
112 bool m_endTimeHasBeenSet = false;
113
114 Aws::String m_nextToken;
115 bool m_nextTokenHasBeenSet = false;
116
117 int m_maxResults;
118 bool m_maxResultsHasBeenSet = false;
119 };
120
121} // namespace Model
122} // namespace SSMContacts
123} // namespace Aws
AWS_SSMCONTACTS_API Aws::String SerializePayload() const override
ListRotationOverridesRequest & WithNextToken(const char *value)
ListRotationOverridesRequest & WithNextToken(const Aws::String &value)
ListRotationOverridesRequest & WithNextToken(Aws::String &&value)
ListRotationOverridesRequest & WithStartTime(Aws::Utils::DateTime &&value)
ListRotationOverridesRequest & WithEndTime(const Aws::Utils::DateTime &value)
ListRotationOverridesRequest & WithRotationId(const Aws::String &value)
ListRotationOverridesRequest & WithStartTime(const Aws::Utils::DateTime &value)
AWS_SSMCONTACTS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
ListRotationOverridesRequest & WithRotationId(Aws::String &&value)
ListRotationOverridesRequest & WithEndTime(Aws::Utils::DateTime &&value)
ListRotationOverridesRequest & WithRotationId(const char *value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String