AWS SDK for C++  1.9.161
AWS SDK for C++
HostVolumeProperties.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/ecs/ECS_EXPORTS.h>
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 ECS
22 {
23 namespace Model
24 {
25 
33  {
34  public:
39 
40 
53  inline const Aws::String& GetSourcePath() const{ return m_sourcePath; }
54 
67  inline bool SourcePathHasBeenSet() const { return m_sourcePathHasBeenSet; }
68 
81  inline void SetSourcePath(const Aws::String& value) { m_sourcePathHasBeenSet = true; m_sourcePath = value; }
82 
95  inline void SetSourcePath(Aws::String&& value) { m_sourcePathHasBeenSet = true; m_sourcePath = std::move(value); }
96 
109  inline void SetSourcePath(const char* value) { m_sourcePathHasBeenSet = true; m_sourcePath.assign(value); }
110 
123  inline HostVolumeProperties& WithSourcePath(const Aws::String& value) { SetSourcePath(value); return *this;}
124 
137  inline HostVolumeProperties& WithSourcePath(Aws::String&& value) { SetSourcePath(std::move(value)); return *this;}
138 
151  inline HostVolumeProperties& WithSourcePath(const char* value) { SetSourcePath(value); return *this;}
152 
153  private:
154 
155  Aws::String m_sourcePath;
156  bool m_sourcePathHasBeenSet;
157  };
158 
159 } // namespace Model
160 } // namespace ECS
161 } // namespace Aws
Aws::ECS::Model::HostVolumeProperties::SetSourcePath
void SetSourcePath(const char *value)
Definition: HostVolumeProperties.h:109
Aws::ECS::Model::HostVolumeProperties
Definition: HostVolumeProperties.h:33
Aws::CodeDeploy::Model::ComputePlatform::NOT_SET
@ NOT_SET
Aws::ECS::Model::HostVolumeProperties::WithSourcePath
HostVolumeProperties & WithSourcePath(Aws::String &&value)
Definition: HostVolumeProperties.h:137
AWS_ECS_API
#define AWS_ECS_API
Definition: ECS_EXPORTS.h:28
Aws::ECS::Model::HostVolumeProperties::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::ECS::Model::HostVolumeProperties::SetSourcePath
void SetSourcePath(const Aws::String &value)
Definition: HostVolumeProperties.h:81
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::ECS::Model::HostVolumeProperties::GetSourcePath
const Aws::String & GetSourcePath() const
Definition: HostVolumeProperties.h:53
Aws::ECS::Model::HostVolumeProperties::SetSourcePath
void SetSourcePath(Aws::String &&value)
Definition: HostVolumeProperties.h:95
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws::ECS::Model::HostVolumeProperties::SourcePathHasBeenSet
bool SourcePathHasBeenSet() const
Definition: HostVolumeProperties.h:67
Aws
Definition: AccessManagementClient.h:15
Aws::ECS::Model::HostVolumeProperties::HostVolumeProperties
HostVolumeProperties()
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::ECS::Model::HostVolumeProperties::WithSourcePath
HostVolumeProperties & WithSourcePath(const char *value)
Definition: HostVolumeProperties.h:151
Aws::ECS::Model::HostVolumeProperties::operator=
HostVolumeProperties & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::ECS::Model::HostVolumeProperties::HostVolumeProperties
HostVolumeProperties(Aws::Utils::Json::JsonView jsonValue)
ECS_EXPORTS.h
Aws::ECS::Model::HostVolumeProperties::WithSourcePath
HostVolumeProperties & WithSourcePath(const Aws::String &value)
Definition: HostVolumeProperties.h:123