AWS SDK for C++  1.9.157
AWS SDK for C++
CreateRemoteAccessSessionConfiguration.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace Utils
16 {
17 namespace Json
18 {
19  class JsonValue;
20  class JsonView;
21 } // namespace Json
22 } // namespace Utils
23 namespace DeviceFarm
24 {
25 namespace Model
26 {
27 
35  {
36  public:
41 
42 
46  inline const BillingMethod& GetBillingMethod() const{ return m_billingMethod; }
47 
51  inline bool BillingMethodHasBeenSet() const { return m_billingMethodHasBeenSet; }
52 
56  inline void SetBillingMethod(const BillingMethod& value) { m_billingMethodHasBeenSet = true; m_billingMethod = value; }
57 
61  inline void SetBillingMethod(BillingMethod&& value) { m_billingMethodHasBeenSet = true; m_billingMethod = std::move(value); }
62 
66  inline CreateRemoteAccessSessionConfiguration& WithBillingMethod(const BillingMethod& value) { SetBillingMethod(value); return *this;}
67 
71  inline CreateRemoteAccessSessionConfiguration& WithBillingMethod(BillingMethod&& value) { SetBillingMethod(std::move(value)); return *this;}
72 
73 
77  inline const Aws::Vector<Aws::String>& GetVpceConfigurationArns() const{ return m_vpceConfigurationArns; }
78 
82  inline bool VpceConfigurationArnsHasBeenSet() const { return m_vpceConfigurationArnsHasBeenSet; }
83 
87  inline void SetVpceConfigurationArns(const Aws::Vector<Aws::String>& value) { m_vpceConfigurationArnsHasBeenSet = true; m_vpceConfigurationArns = value; }
88 
92  inline void SetVpceConfigurationArns(Aws::Vector<Aws::String>&& value) { m_vpceConfigurationArnsHasBeenSet = true; m_vpceConfigurationArns = std::move(value); }
93 
97  inline CreateRemoteAccessSessionConfiguration& WithVpceConfigurationArns(const Aws::Vector<Aws::String>& value) { SetVpceConfigurationArns(value); return *this;}
98 
102  inline CreateRemoteAccessSessionConfiguration& WithVpceConfigurationArns(Aws::Vector<Aws::String>&& value) { SetVpceConfigurationArns(std::move(value)); return *this;}
103 
107  inline CreateRemoteAccessSessionConfiguration& AddVpceConfigurationArns(const Aws::String& value) { m_vpceConfigurationArnsHasBeenSet = true; m_vpceConfigurationArns.push_back(value); return *this; }
108 
112  inline CreateRemoteAccessSessionConfiguration& AddVpceConfigurationArns(Aws::String&& value) { m_vpceConfigurationArnsHasBeenSet = true; m_vpceConfigurationArns.push_back(std::move(value)); return *this; }
113 
117  inline CreateRemoteAccessSessionConfiguration& AddVpceConfigurationArns(const char* value) { m_vpceConfigurationArnsHasBeenSet = true; m_vpceConfigurationArns.push_back(value); return *this; }
118 
119  private:
120 
121  BillingMethod m_billingMethod;
122  bool m_billingMethodHasBeenSet;
123 
124  Aws::Vector<Aws::String> m_vpceConfigurationArns;
125  bool m_vpceConfigurationArnsHasBeenSet;
126  };
127 
128 } // namespace Model
129 } // namespace DeviceFarm
130 } // namespace Aws
Aws::DeviceFarm::Model::CreateRemoteAccessSessionConfiguration::WithBillingMethod
CreateRemoteAccessSessionConfiguration & WithBillingMethod(const BillingMethod &value)
Definition: CreateRemoteAccessSessionConfiguration.h:66
Aws::DeviceFarm::Model::CreateRemoteAccessSessionConfiguration
Definition: CreateRemoteAccessSessionConfiguration.h:35
Aws::DeviceFarm::Model::CreateRemoteAccessSessionConfiguration::SetVpceConfigurationArns
void SetVpceConfigurationArns(Aws::Vector< Aws::String > &&value)
Definition: CreateRemoteAccessSessionConfiguration.h:92
Aws::DeviceFarm::Model::CreateRemoteAccessSessionConfiguration::GetVpceConfigurationArns
const Aws::Vector< Aws::String > & GetVpceConfigurationArns() const
Definition: CreateRemoteAccessSessionConfiguration.h:77
Aws::DeviceFarm::Model::CreateRemoteAccessSessionConfiguration::AddVpceConfigurationArns
CreateRemoteAccessSessionConfiguration & AddVpceConfigurationArns(const char *value)
Definition: CreateRemoteAccessSessionConfiguration.h:117
Aws::DeviceFarm::Model::CreateRemoteAccessSessionConfiguration::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::DeviceFarm::Model::CreateRemoteAccessSessionConfiguration::VpceConfigurationArnsHasBeenSet
bool VpceConfigurationArnsHasBeenSet() const
Definition: CreateRemoteAccessSessionConfiguration.h:82
AWSVector.h
Aws::DeviceFarm::Model::CreateRemoteAccessSessionConfiguration::WithVpceConfigurationArns
CreateRemoteAccessSessionConfiguration & WithVpceConfigurationArns(Aws::Vector< Aws::String > &&value)
Definition: CreateRemoteAccessSessionConfiguration.h:102
Aws::DeviceFarm::Model::CreateRemoteAccessSessionConfiguration::SetBillingMethod
void SetBillingMethod(BillingMethod &&value)
Definition: CreateRemoteAccessSessionConfiguration.h:61
AWS_DEVICEFARM_API
#define AWS_DEVICEFARM_API
Definition: DeviceFarm_EXPORTS.h:28
Aws::DeviceFarm::Model::CreateRemoteAccessSessionConfiguration::CreateRemoteAccessSessionConfiguration
CreateRemoteAccessSessionConfiguration()
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::DeviceFarm::Model::CreateRemoteAccessSessionConfiguration::SetBillingMethod
void SetBillingMethod(const BillingMethod &value)
Definition: CreateRemoteAccessSessionConfiguration.h:56
Aws::DeviceFarm::Model::BillingMethod
BillingMethod
Definition: BillingMethod.h:17
BillingMethod.h
Aws::DeviceFarm::Model::CreateRemoteAccessSessionConfiguration::AddVpceConfigurationArns
CreateRemoteAccessSessionConfiguration & AddVpceConfigurationArns(Aws::String &&value)
Definition: CreateRemoteAccessSessionConfiguration.h:112
Aws::DeviceFarm::Model::CreateRemoteAccessSessionConfiguration::SetVpceConfigurationArns
void SetVpceConfigurationArns(const Aws::Vector< Aws::String > &value)
Definition: CreateRemoteAccessSessionConfiguration.h:87
Aws::DeviceFarm::Model::CreateRemoteAccessSessionConfiguration::operator=
CreateRemoteAccessSessionConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::DeviceFarm::Model::CreateRemoteAccessSessionConfiguration::AddVpceConfigurationArns
CreateRemoteAccessSessionConfiguration & AddVpceConfigurationArns(const Aws::String &value)
Definition: CreateRemoteAccessSessionConfiguration.h:107
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws::DeviceFarm::Model::CreateRemoteAccessSessionConfiguration::WithBillingMethod
CreateRemoteAccessSessionConfiguration & WithBillingMethod(BillingMethod &&value)
Definition: CreateRemoteAccessSessionConfiguration.h:71
Aws
Definition: AccessManagementClient.h:15
DeviceFarm_EXPORTS.h
Aws::DeviceFarm::Model::CreateRemoteAccessSessionConfiguration::WithVpceConfigurationArns
CreateRemoteAccessSessionConfiguration & WithVpceConfigurationArns(const Aws::Vector< Aws::String > &value)
Definition: CreateRemoteAccessSessionConfiguration.h:97
Aws::DeviceFarm::Model::CreateRemoteAccessSessionConfiguration::GetBillingMethod
const BillingMethod & GetBillingMethod() const
Definition: CreateRemoteAccessSessionConfiguration.h:46
Aws::DeviceFarm::Model::CreateRemoteAccessSessionConfiguration::BillingMethodHasBeenSet
bool BillingMethodHasBeenSet() const
Definition: CreateRemoteAccessSessionConfiguration.h:51
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::DeviceFarm::Model::CreateRemoteAccessSessionConfiguration::CreateRemoteAccessSessionConfiguration
CreateRemoteAccessSessionConfiguration(Aws::Utils::Json::JsonView jsonValue)