AWS SDK for C++  1.9.160
AWS SDK for C++
AgentVersion.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 namespace Utils
14 {
15 namespace Json
16 {
17  class JsonValue;
18  class JsonView;
19 } // namespace Json
20 } // namespace Utils
21 namespace SageMaker
22 {
23 namespace Model
24 {
25 
32  {
33  public:
38 
39 
43  inline const Aws::String& GetVersion() const{ return m_version; }
44 
48  inline bool VersionHasBeenSet() const { return m_versionHasBeenSet; }
49 
53  inline void SetVersion(const Aws::String& value) { m_versionHasBeenSet = true; m_version = value; }
54 
58  inline void SetVersion(Aws::String&& value) { m_versionHasBeenSet = true; m_version = std::move(value); }
59 
63  inline void SetVersion(const char* value) { m_versionHasBeenSet = true; m_version.assign(value); }
64 
68  inline AgentVersion& WithVersion(const Aws::String& value) { SetVersion(value); return *this;}
69 
73  inline AgentVersion& WithVersion(Aws::String&& value) { SetVersion(std::move(value)); return *this;}
74 
78  inline AgentVersion& WithVersion(const char* value) { SetVersion(value); return *this;}
79 
80 
84  inline long long GetAgentCount() const{ return m_agentCount; }
85 
89  inline bool AgentCountHasBeenSet() const { return m_agentCountHasBeenSet; }
90 
94  inline void SetAgentCount(long long value) { m_agentCountHasBeenSet = true; m_agentCount = value; }
95 
99  inline AgentVersion& WithAgentCount(long long value) { SetAgentCount(value); return *this;}
100 
101  private:
102 
103  Aws::String m_version;
104  bool m_versionHasBeenSet;
105 
106  long long m_agentCount;
107  bool m_agentCountHasBeenSet;
108  };
109 
110 } // namespace Model
111 } // namespace SageMaker
112 } // namespace Aws
Aws::SavingsPlans::Model::SavingsPlanProductType::NOT_SET
@ NOT_SET
SageMaker_EXPORTS.h
Aws::SageMaker::Model::AgentVersion::WithVersion
AgentVersion & WithVersion(const char *value)
Definition: AgentVersion.h:78
Aws::SageMaker::Model::AgentVersion::SetVersion
void SetVersion(const char *value)
Definition: AgentVersion.h:63
Aws::SageMaker::Model::AgentVersion::AgentVersion
AgentVersion(Aws::Utils::Json::JsonView jsonValue)
Aws::SageMaker::Model::AgentVersion::GetAgentCount
long long GetAgentCount() const
Definition: AgentVersion.h:84
Aws::SageMaker::Model::AgentVersion::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::SageMaker::Model::AgentVersion::SetAgentCount
void SetAgentCount(long long value)
Definition: AgentVersion.h:94
Aws::SageMaker::Model::AgentVersion::GetVersion
const Aws::String & GetVersion() const
Definition: AgentVersion.h:43
Aws::SageMaker::Model::AgentVersion
Definition: AgentVersion.h:32
Aws::SageMaker::Model::AgentVersion::AgentVersion
AgentVersion()
AWS_SAGEMAKER_API
#define AWS_SAGEMAKER_API
Definition: SageMaker_EXPORTS.h:28
Aws::SageMaker::Model::AgentVersion::SetVersion
void SetVersion(Aws::String &&value)
Definition: AgentVersion.h:58
Aws::SageMaker::Model::AgentVersion::operator=
AgentVersion & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::SageMaker::Model::AgentVersion::AgentCountHasBeenSet
bool AgentCountHasBeenSet() const
Definition: AgentVersion.h:89
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::SageMaker::Model::AgentVersion::WithAgentCount
AgentVersion & WithAgentCount(long long value)
Definition: AgentVersion.h:99
Aws::SageMaker::Model::AgentVersion::SetVersion
void SetVersion(const Aws::String &value)
Definition: AgentVersion.h:53
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SageMaker::Model::AgentVersion::WithVersion
AgentVersion & WithVersion(const Aws::String &value)
Definition: AgentVersion.h:68
Aws::SageMaker::Model::AgentVersion::VersionHasBeenSet
bool VersionHasBeenSet() const
Definition: AgentVersion.h:48
Aws::SageMaker::Model::AgentVersion::WithVersion
AgentVersion & WithVersion(Aws::String &&value)
Definition: AgentVersion.h:73