AWS SDK for C++

AWS SDK for C++ Version 1.11.685

Loading...
Searching...
No Matches
DescribeOrganizationOverviewRequest.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/devops-guru/DevOpsGuruRequest.h>
11#include <aws/devops-guru/DevOpsGuru_EXPORTS.h>
12
13#include <utility>
14
15namespace Aws {
16namespace DevOpsGuru {
17namespace Model {
18
22 public:
23 AWS_DEVOPSGURU_API DescribeOrganizationOverviewRequest() = default;
24
25 // Service request name is the Operation name which will send this request out,
26 // each operation should has unique request name, so that we can get operation's name from this request.
27 // Note: this is not true for response, multiple operations may have the same response name,
28 // so we can not get operation's name from response.
29 inline virtual const char* GetServiceRequestName() const override { return "DescribeOrganizationOverview"; }
30
31 AWS_DEVOPSGURU_API Aws::String SerializePayload() const override;
32
34
39 inline const Aws::Utils::DateTime& GetFromTime() const { return m_fromTime; }
40 inline bool FromTimeHasBeenSet() const { return m_fromTimeHasBeenSet; }
41 template <typename FromTimeT = Aws::Utils::DateTime>
42 void SetFromTime(FromTimeT&& value) {
43 m_fromTimeHasBeenSet = true;
44 m_fromTime = std::forward<FromTimeT>(value);
45 }
46 template <typename FromTimeT = Aws::Utils::DateTime>
48 SetFromTime(std::forward<FromTimeT>(value));
49 return *this;
50 }
52
54
59 inline const Aws::Utils::DateTime& GetToTime() const { return m_toTime; }
60 inline bool ToTimeHasBeenSet() const { return m_toTimeHasBeenSet; }
61 template <typename ToTimeT = Aws::Utils::DateTime>
62 void SetToTime(ToTimeT&& value) {
63 m_toTimeHasBeenSet = true;
64 m_toTime = std::forward<ToTimeT>(value);
65 }
66 template <typename ToTimeT = Aws::Utils::DateTime>
68 SetToTime(std::forward<ToTimeT>(value));
69 return *this;
70 }
72
74
77 inline const Aws::Vector<Aws::String>& GetAccountIds() const { return m_accountIds; }
78 inline bool AccountIdsHasBeenSet() const { return m_accountIdsHasBeenSet; }
79 template <typename AccountIdsT = Aws::Vector<Aws::String>>
80 void SetAccountIds(AccountIdsT&& value) {
81 m_accountIdsHasBeenSet = true;
82 m_accountIds = std::forward<AccountIdsT>(value);
83 }
84 template <typename AccountIdsT = Aws::Vector<Aws::String>>
86 SetAccountIds(std::forward<AccountIdsT>(value));
87 return *this;
88 }
89 template <typename AccountIdsT = Aws::String>
91 m_accountIdsHasBeenSet = true;
92 m_accountIds.emplace_back(std::forward<AccountIdsT>(value));
93 return *this;
94 }
96
98
101 inline const Aws::Vector<Aws::String>& GetOrganizationalUnitIds() const { return m_organizationalUnitIds; }
102 inline bool OrganizationalUnitIdsHasBeenSet() const { return m_organizationalUnitIdsHasBeenSet; }
103 template <typename OrganizationalUnitIdsT = Aws::Vector<Aws::String>>
104 void SetOrganizationalUnitIds(OrganizationalUnitIdsT&& value) {
105 m_organizationalUnitIdsHasBeenSet = true;
106 m_organizationalUnitIds = std::forward<OrganizationalUnitIdsT>(value);
107 }
108 template <typename OrganizationalUnitIdsT = Aws::Vector<Aws::String>>
110 SetOrganizationalUnitIds(std::forward<OrganizationalUnitIdsT>(value));
111 return *this;
112 }
113 template <typename OrganizationalUnitIdsT = Aws::String>
115 m_organizationalUnitIdsHasBeenSet = true;
116 m_organizationalUnitIds.emplace_back(std::forward<OrganizationalUnitIdsT>(value));
117 return *this;
118 }
120 private:
121 Aws::Utils::DateTime m_fromTime{};
122 bool m_fromTimeHasBeenSet = false;
123
124 Aws::Utils::DateTime m_toTime{};
125 bool m_toTimeHasBeenSet = false;
126
127 Aws::Vector<Aws::String> m_accountIds;
128 bool m_accountIdsHasBeenSet = false;
129
130 Aws::Vector<Aws::String> m_organizationalUnitIds;
131 bool m_organizationalUnitIdsHasBeenSet = false;
132};
133
134} // namespace Model
135} // namespace DevOpsGuru
136} // namespace Aws
DescribeOrganizationOverviewRequest & WithFromTime(FromTimeT &&value)
DescribeOrganizationOverviewRequest & WithAccountIds(AccountIdsT &&value)
DescribeOrganizationOverviewRequest & AddOrganizationalUnitIds(OrganizationalUnitIdsT &&value)
DescribeOrganizationOverviewRequest & WithToTime(ToTimeT &&value)
DescribeOrganizationOverviewRequest & WithOrganizationalUnitIds(OrganizationalUnitIdsT &&value)
AWS_DEVOPSGURU_API Aws::String SerializePayload() const override
DescribeOrganizationOverviewRequest & AddAccountIds(AccountIdsT &&value)
AWS_DEVOPSGURU_API DescribeOrganizationOverviewRequest()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector