AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AccountGrouping.h
1
6#pragma once
7#include <aws/billingconductor/BillingConductor_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace BillingConductor
23{
24namespace Model
25{
26
35 {
36 public:
37 AWS_BILLINGCONDUCTOR_API AccountGrouping();
38 AWS_BILLINGCONDUCTOR_API AccountGrouping(Aws::Utils::Json::JsonView jsonValue);
39 AWS_BILLINGCONDUCTOR_API AccountGrouping& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_BILLINGCONDUCTOR_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
49 inline const Aws::Vector<Aws::String>& GetLinkedAccountIds() const{ return m_linkedAccountIds; }
50 inline bool LinkedAccountIdsHasBeenSet() const { return m_linkedAccountIdsHasBeenSet; }
51 inline void SetLinkedAccountIds(const Aws::Vector<Aws::String>& value) { m_linkedAccountIdsHasBeenSet = true; m_linkedAccountIds = value; }
52 inline void SetLinkedAccountIds(Aws::Vector<Aws::String>&& value) { m_linkedAccountIdsHasBeenSet = true; m_linkedAccountIds = std::move(value); }
54 inline AccountGrouping& WithLinkedAccountIds(Aws::Vector<Aws::String>&& value) { SetLinkedAccountIds(std::move(value)); return *this;}
55 inline AccountGrouping& AddLinkedAccountIds(const Aws::String& value) { m_linkedAccountIdsHasBeenSet = true; m_linkedAccountIds.push_back(value); return *this; }
56 inline AccountGrouping& AddLinkedAccountIds(Aws::String&& value) { m_linkedAccountIdsHasBeenSet = true; m_linkedAccountIds.push_back(std::move(value)); return *this; }
57 inline AccountGrouping& AddLinkedAccountIds(const char* value) { m_linkedAccountIdsHasBeenSet = true; m_linkedAccountIds.push_back(value); return *this; }
59
61
65 inline bool GetAutoAssociate() const{ return m_autoAssociate; }
66 inline bool AutoAssociateHasBeenSet() const { return m_autoAssociateHasBeenSet; }
67 inline void SetAutoAssociate(bool value) { m_autoAssociateHasBeenSet = true; m_autoAssociate = value; }
68 inline AccountGrouping& WithAutoAssociate(bool value) { SetAutoAssociate(value); return *this;}
70 private:
71
72 Aws::Vector<Aws::String> m_linkedAccountIds;
73 bool m_linkedAccountIdsHasBeenSet = false;
74
75 bool m_autoAssociate;
76 bool m_autoAssociateHasBeenSet = false;
77 };
78
79} // namespace Model
80} // namespace BillingConductor
81} // namespace Aws
AccountGrouping & WithLinkedAccountIds(const Aws::Vector< Aws::String > &value)
const Aws::Vector< Aws::String > & GetLinkedAccountIds() const
AccountGrouping & WithAutoAssociate(bool value)
AccountGrouping & WithLinkedAccountIds(Aws::Vector< Aws::String > &&value)
AWS_BILLINGCONDUCTOR_API AccountGrouping(Aws::Utils::Json::JsonView jsonValue)
AccountGrouping & AddLinkedAccountIds(const Aws::String &value)
AWS_BILLINGCONDUCTOR_API AccountGrouping()
AWS_BILLINGCONDUCTOR_API AccountGrouping & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_BILLINGCONDUCTOR_API Aws::Utils::Json::JsonValue Jsonize() const
void SetLinkedAccountIds(Aws::Vector< Aws::String > &&value)
AccountGrouping & AddLinkedAccountIds(const char *value)
AccountGrouping & AddLinkedAccountIds(Aws::String &&value)
void SetLinkedAccountIds(const Aws::Vector< Aws::String > &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue