AWS SDK for C++

AWS SDK for C++ Version 1.11.683

Loading...
Searching...
No Matches
DescribeOrganizationHealthRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/devops-guru/DevOpsGuruRequest.h>
10#include <aws/devops-guru/DevOpsGuru_EXPORTS.h>
11
12#include <utility>
13
14namespace Aws {
15namespace DevOpsGuru {
16namespace Model {
17
21 public:
22 AWS_DEVOPSGURU_API DescribeOrganizationHealthRequest() = default;
23
24 // Service request name is the Operation name which will send this request out,
25 // each operation should has unique request name, so that we can get operation's name from this request.
26 // Note: this is not true for response, multiple operations may have the same response name,
27 // so we can not get operation's name from response.
28 inline virtual const char* GetServiceRequestName() const override { return "DescribeOrganizationHealth"; }
29
30 AWS_DEVOPSGURU_API Aws::String SerializePayload() const override;
31
33
36 inline const Aws::Vector<Aws::String>& GetAccountIds() const { return m_accountIds; }
37 inline bool AccountIdsHasBeenSet() const { return m_accountIdsHasBeenSet; }
38 template <typename AccountIdsT = Aws::Vector<Aws::String>>
39 void SetAccountIds(AccountIdsT&& value) {
40 m_accountIdsHasBeenSet = true;
41 m_accountIds = std::forward<AccountIdsT>(value);
42 }
43 template <typename AccountIdsT = Aws::Vector<Aws::String>>
45 SetAccountIds(std::forward<AccountIdsT>(value));
46 return *this;
47 }
48 template <typename AccountIdsT = Aws::String>
50 m_accountIdsHasBeenSet = true;
51 m_accountIds.emplace_back(std::forward<AccountIdsT>(value));
52 return *this;
53 }
55
57
60 inline const Aws::Vector<Aws::String>& GetOrganizationalUnitIds() const { return m_organizationalUnitIds; }
61 inline bool OrganizationalUnitIdsHasBeenSet() const { return m_organizationalUnitIdsHasBeenSet; }
62 template <typename OrganizationalUnitIdsT = Aws::Vector<Aws::String>>
63 void SetOrganizationalUnitIds(OrganizationalUnitIdsT&& value) {
64 m_organizationalUnitIdsHasBeenSet = true;
65 m_organizationalUnitIds = std::forward<OrganizationalUnitIdsT>(value);
66 }
67 template <typename OrganizationalUnitIdsT = Aws::Vector<Aws::String>>
69 SetOrganizationalUnitIds(std::forward<OrganizationalUnitIdsT>(value));
70 return *this;
71 }
72 template <typename OrganizationalUnitIdsT = Aws::String>
74 m_organizationalUnitIdsHasBeenSet = true;
75 m_organizationalUnitIds.emplace_back(std::forward<OrganizationalUnitIdsT>(value));
76 return *this;
77 }
79 private:
80 Aws::Vector<Aws::String> m_accountIds;
81 bool m_accountIdsHasBeenSet = false;
82
83 Aws::Vector<Aws::String> m_organizationalUnitIds;
84 bool m_organizationalUnitIdsHasBeenSet = false;
85};
86
87} // namespace Model
88} // namespace DevOpsGuru
89} // namespace Aws
AWS_DEVOPSGURU_API Aws::String SerializePayload() const override
DescribeOrganizationHealthRequest & AddOrganizationalUnitIds(OrganizationalUnitIdsT &&value)
DescribeOrganizationHealthRequest & AddAccountIds(AccountIdsT &&value)
DescribeOrganizationHealthRequest & WithOrganizationalUnitIds(OrganizationalUnitIdsT &&value)
AWS_DEVOPSGURU_API DescribeOrganizationHealthRequest()=default
DescribeOrganizationHealthRequest & WithAccountIds(AccountIdsT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector