AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeOrganizationOverviewRequest.h
1
6#pragma once
7#include <aws/devops-guru/DevOpsGuru_EXPORTS.h>
8#include <aws/devops-guru/DevOpsGuruRequest.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12#include <utility>
13
14namespace Aws
15{
16namespace DevOpsGuru
17{
18namespace Model
19{
20
24 {
25 public:
27
28 // Service request name is the Operation name which will send this request out,
29 // each operation should has unique request name, so that we can get operation's name from this request.
30 // Note: this is not true for response, multiple operations may have the same response name,
31 // so we can not get operation's name from response.
32 inline virtual const char* GetServiceRequestName() const override { return "DescribeOrganizationOverview"; }
33
34 AWS_DEVOPSGURU_API Aws::String SerializePayload() const override;
35
36
38
43 inline const Aws::Utils::DateTime& GetFromTime() const{ return m_fromTime; }
44 inline bool FromTimeHasBeenSet() const { return m_fromTimeHasBeenSet; }
45 inline void SetFromTime(const Aws::Utils::DateTime& value) { m_fromTimeHasBeenSet = true; m_fromTime = value; }
46 inline void SetFromTime(Aws::Utils::DateTime&& value) { m_fromTimeHasBeenSet = true; m_fromTime = std::move(value); }
48 inline DescribeOrganizationOverviewRequest& WithFromTime(Aws::Utils::DateTime&& value) { SetFromTime(std::move(value)); return *this;}
50
52
57 inline const Aws::Utils::DateTime& GetToTime() const{ return m_toTime; }
58 inline bool ToTimeHasBeenSet() const { return m_toTimeHasBeenSet; }
59 inline void SetToTime(const Aws::Utils::DateTime& value) { m_toTimeHasBeenSet = true; m_toTime = value; }
60 inline void SetToTime(Aws::Utils::DateTime&& value) { m_toTimeHasBeenSet = true; m_toTime = std::move(value); }
62 inline DescribeOrganizationOverviewRequest& WithToTime(Aws::Utils::DateTime&& value) { SetToTime(std::move(value)); return *this;}
64
66
69 inline const Aws::Vector<Aws::String>& GetAccountIds() const{ return m_accountIds; }
70 inline bool AccountIdsHasBeenSet() const { return m_accountIdsHasBeenSet; }
71 inline void SetAccountIds(const Aws::Vector<Aws::String>& value) { m_accountIdsHasBeenSet = true; m_accountIds = value; }
72 inline void SetAccountIds(Aws::Vector<Aws::String>&& value) { m_accountIdsHasBeenSet = true; m_accountIds = std::move(value); }
75 inline DescribeOrganizationOverviewRequest& AddAccountIds(const Aws::String& value) { m_accountIdsHasBeenSet = true; m_accountIds.push_back(value); return *this; }
76 inline DescribeOrganizationOverviewRequest& AddAccountIds(Aws::String&& value) { m_accountIdsHasBeenSet = true; m_accountIds.push_back(std::move(value)); return *this; }
77 inline DescribeOrganizationOverviewRequest& AddAccountIds(const char* value) { m_accountIdsHasBeenSet = true; m_accountIds.push_back(value); return *this; }
79
81
84 inline const Aws::Vector<Aws::String>& GetOrganizationalUnitIds() const{ return m_organizationalUnitIds; }
85 inline bool OrganizationalUnitIdsHasBeenSet() const { return m_organizationalUnitIdsHasBeenSet; }
86 inline void SetOrganizationalUnitIds(const Aws::Vector<Aws::String>& value) { m_organizationalUnitIdsHasBeenSet = true; m_organizationalUnitIds = value; }
87 inline void SetOrganizationalUnitIds(Aws::Vector<Aws::String>&& value) { m_organizationalUnitIdsHasBeenSet = true; m_organizationalUnitIds = std::move(value); }
90 inline DescribeOrganizationOverviewRequest& AddOrganizationalUnitIds(const Aws::String& value) { m_organizationalUnitIdsHasBeenSet = true; m_organizationalUnitIds.push_back(value); return *this; }
91 inline DescribeOrganizationOverviewRequest& AddOrganizationalUnitIds(Aws::String&& value) { m_organizationalUnitIdsHasBeenSet = true; m_organizationalUnitIds.push_back(std::move(value)); return *this; }
92 inline DescribeOrganizationOverviewRequest& AddOrganizationalUnitIds(const char* value) { m_organizationalUnitIdsHasBeenSet = true; m_organizationalUnitIds.push_back(value); return *this; }
94 private:
95
96 Aws::Utils::DateTime m_fromTime;
97 bool m_fromTimeHasBeenSet = false;
98
99 Aws::Utils::DateTime m_toTime;
100 bool m_toTimeHasBeenSet = false;
101
102 Aws::Vector<Aws::String> m_accountIds;
103 bool m_accountIdsHasBeenSet = false;
104
105 Aws::Vector<Aws::String> m_organizationalUnitIds;
106 bool m_organizationalUnitIdsHasBeenSet = false;
107 };
108
109} // namespace Model
110} // namespace DevOpsGuru
111} // namespace Aws
DescribeOrganizationOverviewRequest & WithOrganizationalUnitIds(const Aws::Vector< Aws::String > &value)
DescribeOrganizationOverviewRequest & WithFromTime(const Aws::Utils::DateTime &value)
DescribeOrganizationOverviewRequest & WithAccountIds(const Aws::Vector< Aws::String > &value)
DescribeOrganizationOverviewRequest & AddAccountIds(Aws::String &&value)
DescribeOrganizationOverviewRequest & WithToTime(const Aws::Utils::DateTime &value)
DescribeOrganizationOverviewRequest & AddOrganizationalUnitIds(const Aws::String &value)
DescribeOrganizationOverviewRequest & WithOrganizationalUnitIds(Aws::Vector< Aws::String > &&value)
DescribeOrganizationOverviewRequest & AddAccountIds(const char *value)
DescribeOrganizationOverviewRequest & AddOrganizationalUnitIds(Aws::String &&value)
DescribeOrganizationOverviewRequest & WithToTime(Aws::Utils::DateTime &&value)
AWS_DEVOPSGURU_API Aws::String SerializePayload() const override
DescribeOrganizationOverviewRequest & AddOrganizationalUnitIds(const char *value)
DescribeOrganizationOverviewRequest & AddAccountIds(const Aws::String &value)
DescribeOrganizationOverviewRequest & WithFromTime(Aws::Utils::DateTime &&value)
DescribeOrganizationOverviewRequest & WithAccountIds(Aws::Vector< Aws::String > &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector