AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ClusterInstancePlacement.h
1
6#pragma once
7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace SageMaker
22{
23namespace Model
24{
25
34 {
35 public:
36 AWS_SAGEMAKER_API ClusterInstancePlacement();
39 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
47 inline const Aws::String& GetAvailabilityZone() const{ return m_availabilityZone; }
48 inline bool AvailabilityZoneHasBeenSet() const { return m_availabilityZoneHasBeenSet; }
49 inline void SetAvailabilityZone(const Aws::String& value) { m_availabilityZoneHasBeenSet = true; m_availabilityZone = value; }
50 inline void SetAvailabilityZone(Aws::String&& value) { m_availabilityZoneHasBeenSet = true; m_availabilityZone = std::move(value); }
51 inline void SetAvailabilityZone(const char* value) { m_availabilityZoneHasBeenSet = true; m_availabilityZone.assign(value); }
53 inline ClusterInstancePlacement& WithAvailabilityZone(Aws::String&& value) { SetAvailabilityZone(std::move(value)); return *this;}
54 inline ClusterInstancePlacement& WithAvailabilityZone(const char* value) { SetAvailabilityZone(value); return *this;}
56
58
62 inline const Aws::String& GetAvailabilityZoneId() const{ return m_availabilityZoneId; }
63 inline bool AvailabilityZoneIdHasBeenSet() const { return m_availabilityZoneIdHasBeenSet; }
64 inline void SetAvailabilityZoneId(const Aws::String& value) { m_availabilityZoneIdHasBeenSet = true; m_availabilityZoneId = value; }
65 inline void SetAvailabilityZoneId(Aws::String&& value) { m_availabilityZoneIdHasBeenSet = true; m_availabilityZoneId = std::move(value); }
66 inline void SetAvailabilityZoneId(const char* value) { m_availabilityZoneIdHasBeenSet = true; m_availabilityZoneId.assign(value); }
68 inline ClusterInstancePlacement& WithAvailabilityZoneId(Aws::String&& value) { SetAvailabilityZoneId(std::move(value)); return *this;}
69 inline ClusterInstancePlacement& WithAvailabilityZoneId(const char* value) { SetAvailabilityZoneId(value); return *this;}
71 private:
72
73 Aws::String m_availabilityZone;
74 bool m_availabilityZoneHasBeenSet = false;
75
76 Aws::String m_availabilityZoneId;
77 bool m_availabilityZoneIdHasBeenSet = false;
78 };
79
80} // namespace Model
81} // namespace SageMaker
82} // namespace Aws
ClusterInstancePlacement & WithAvailabilityZoneId(const char *value)
ClusterInstancePlacement & WithAvailabilityZone(Aws::String &&value)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_SAGEMAKER_API ClusterInstancePlacement(Aws::Utils::Json::JsonView jsonValue)
ClusterInstancePlacement & WithAvailabilityZone(const Aws::String &value)
ClusterInstancePlacement & WithAvailabilityZoneId(const Aws::String &value)
ClusterInstancePlacement & WithAvailabilityZoneId(Aws::String &&value)
AWS_SAGEMAKER_API ClusterInstancePlacement & operator=(Aws::Utils::Json::JsonView jsonValue)
ClusterInstancePlacement & WithAvailabilityZone(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue