AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
SitePlan.h
1
6#pragma once
7#include <aws/privatenetworks/PrivateNetworks_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/privatenetworks/model/NameValuePair.h>
10#include <aws/privatenetworks/model/NetworkResourceDefinition.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace PrivateNetworks
24{
25namespace Model
26{
27
34 {
35 public:
36 AWS_PRIVATENETWORKS_API SitePlan();
37 AWS_PRIVATENETWORKS_API SitePlan(Aws::Utils::Json::JsonView jsonValue);
38 AWS_PRIVATENETWORKS_API SitePlan& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_PRIVATENETWORKS_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::Vector<NameValuePair>& GetOptions() const{ return m_options; }
47 inline bool OptionsHasBeenSet() const { return m_optionsHasBeenSet; }
48 inline void SetOptions(const Aws::Vector<NameValuePair>& value) { m_optionsHasBeenSet = true; m_options = value; }
49 inline void SetOptions(Aws::Vector<NameValuePair>&& value) { m_optionsHasBeenSet = true; m_options = std::move(value); }
50 inline SitePlan& WithOptions(const Aws::Vector<NameValuePair>& value) { SetOptions(value); return *this;}
51 inline SitePlan& WithOptions(Aws::Vector<NameValuePair>&& value) { SetOptions(std::move(value)); return *this;}
52 inline SitePlan& AddOptions(const NameValuePair& value) { m_optionsHasBeenSet = true; m_options.push_back(value); return *this; }
53 inline SitePlan& AddOptions(NameValuePair&& value) { m_optionsHasBeenSet = true; m_options.push_back(std::move(value)); return *this; }
55
57
60 inline const Aws::Vector<NetworkResourceDefinition>& GetResourceDefinitions() const{ return m_resourceDefinitions; }
61 inline bool ResourceDefinitionsHasBeenSet() const { return m_resourceDefinitionsHasBeenSet; }
62 inline void SetResourceDefinitions(const Aws::Vector<NetworkResourceDefinition>& value) { m_resourceDefinitionsHasBeenSet = true; m_resourceDefinitions = value; }
63 inline void SetResourceDefinitions(Aws::Vector<NetworkResourceDefinition>&& value) { m_resourceDefinitionsHasBeenSet = true; m_resourceDefinitions = std::move(value); }
66 inline SitePlan& AddResourceDefinitions(const NetworkResourceDefinition& value) { m_resourceDefinitionsHasBeenSet = true; m_resourceDefinitions.push_back(value); return *this; }
67 inline SitePlan& AddResourceDefinitions(NetworkResourceDefinition&& value) { m_resourceDefinitionsHasBeenSet = true; m_resourceDefinitions.push_back(std::move(value)); return *this; }
69 private:
70
72 bool m_optionsHasBeenSet = false;
73
74 Aws::Vector<NetworkResourceDefinition> m_resourceDefinitions;
75 bool m_resourceDefinitionsHasBeenSet = false;
76 };
77
78} // namespace Model
79} // namespace PrivateNetworks
80} // namespace Aws
SitePlan & WithOptions(Aws::Vector< NameValuePair > &&value)
Definition SitePlan.h:51
AWS_PRIVATENETWORKS_API SitePlan(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< NetworkResourceDefinition > & GetResourceDefinitions() const
Definition SitePlan.h:60
SitePlan & AddResourceDefinitions(const NetworkResourceDefinition &value)
Definition SitePlan.h:66
SitePlan & AddResourceDefinitions(NetworkResourceDefinition &&value)
Definition SitePlan.h:67
void SetResourceDefinitions(const Aws::Vector< NetworkResourceDefinition > &value)
Definition SitePlan.h:62
SitePlan & AddOptions(NameValuePair &&value)
Definition SitePlan.h:53
AWS_PRIVATENETWORKS_API SitePlan & operator=(Aws::Utils::Json::JsonView jsonValue)
SitePlan & WithResourceDefinitions(Aws::Vector< NetworkResourceDefinition > &&value)
Definition SitePlan.h:65
const Aws::Vector< NameValuePair > & GetOptions() const
Definition SitePlan.h:46
void SetOptions(Aws::Vector< NameValuePair > &&value)
Definition SitePlan.h:49
SitePlan & AddOptions(const NameValuePair &value)
Definition SitePlan.h:52
SitePlan & WithResourceDefinitions(const Aws::Vector< NetworkResourceDefinition > &value)
Definition SitePlan.h:64
void SetResourceDefinitions(Aws::Vector< NetworkResourceDefinition > &&value)
Definition SitePlan.h:63
void SetOptions(const Aws::Vector< NameValuePair > &value)
Definition SitePlan.h:48
SitePlan & WithOptions(const Aws::Vector< NameValuePair > &value)
Definition SitePlan.h:50
AWS_PRIVATENETWORKS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_PRIVATENETWORKS_API SitePlan()
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue