AWS SDK for C++  1.8.126
AWS SDK for C++
TestGridSessionArtifact.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Utils
15 {
16 namespace Json
17 {
18  class JsonValue;
19  class JsonView;
20 } // namespace Json
21 } // namespace Utils
22 namespace DeviceFarm
23 {
24 namespace Model
25 {
26 
36  {
37  public:
42 
43 
47  inline const Aws::String& GetFilename() const{ return m_filename; }
48 
52  inline bool FilenameHasBeenSet() const { return m_filenameHasBeenSet; }
53 
57  inline void SetFilename(const Aws::String& value) { m_filenameHasBeenSet = true; m_filename = value; }
58 
62  inline void SetFilename(Aws::String&& value) { m_filenameHasBeenSet = true; m_filename = std::move(value); }
63 
67  inline void SetFilename(const char* value) { m_filenameHasBeenSet = true; m_filename.assign(value); }
68 
72  inline TestGridSessionArtifact& WithFilename(const Aws::String& value) { SetFilename(value); return *this;}
73 
77  inline TestGridSessionArtifact& WithFilename(Aws::String&& value) { SetFilename(std::move(value)); return *this;}
78 
82  inline TestGridSessionArtifact& WithFilename(const char* value) { SetFilename(value); return *this;}
83 
84 
88  inline const TestGridSessionArtifactType& GetType() const{ return m_type; }
89 
93  inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
94 
98  inline void SetType(const TestGridSessionArtifactType& value) { m_typeHasBeenSet = true; m_type = value; }
99 
103  inline void SetType(TestGridSessionArtifactType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
104 
108  inline TestGridSessionArtifact& WithType(const TestGridSessionArtifactType& value) { SetType(value); return *this;}
109 
113  inline TestGridSessionArtifact& WithType(TestGridSessionArtifactType&& value) { SetType(std::move(value)); return *this;}
114 
115 
119  inline const Aws::String& GetUrl() const{ return m_url; }
120 
124  inline bool UrlHasBeenSet() const { return m_urlHasBeenSet; }
125 
129  inline void SetUrl(const Aws::String& value) { m_urlHasBeenSet = true; m_url = value; }
130 
134  inline void SetUrl(Aws::String&& value) { m_urlHasBeenSet = true; m_url = std::move(value); }
135 
139  inline void SetUrl(const char* value) { m_urlHasBeenSet = true; m_url.assign(value); }
140 
144  inline TestGridSessionArtifact& WithUrl(const Aws::String& value) { SetUrl(value); return *this;}
145 
149  inline TestGridSessionArtifact& WithUrl(Aws::String&& value) { SetUrl(std::move(value)); return *this;}
150 
154  inline TestGridSessionArtifact& WithUrl(const char* value) { SetUrl(value); return *this;}
155 
156  private:
157 
158  Aws::String m_filename;
159  bool m_filenameHasBeenSet;
160 
162  bool m_typeHasBeenSet;
163 
164  Aws::String m_url;
165  bool m_urlHasBeenSet;
166  };
167 
168 } // namespace Model
169 } // namespace DeviceFarm
170 } // namespace Aws
Aws::DeviceFarm::Model::TestGridSessionArtifact::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::DeviceFarm::Model::TestGridSessionArtifact::WithFilename
TestGridSessionArtifact & WithFilename(Aws::String &&value)
Definition: TestGridSessionArtifact.h:77
Aws::DeviceFarm::Model::TestGridSessionArtifact::WithFilename
TestGridSessionArtifact & WithFilename(const char *value)
Definition: TestGridSessionArtifact.h:82
Aws::DeviceFarm::Model::TestGridSessionArtifact::SetType
void SetType(TestGridSessionArtifactType &&value)
Definition: TestGridSessionArtifact.h:103
Aws::DeviceFarm::Model::TestGridSessionArtifact::TestGridSessionArtifact
TestGridSessionArtifact()
Aws::DeviceFarm::Model::TestGridSessionArtifact::SetFilename
void SetFilename(const char *value)
Definition: TestGridSessionArtifact.h:67
Aws::DeviceFarm::Model::TestGridSessionArtifact::TestGridSessionArtifact
TestGridSessionArtifact(Aws::Utils::Json::JsonView jsonValue)
Aws::DeviceFarm::Model::TestGridSessionArtifact::WithFilename
TestGridSessionArtifact & WithFilename(const Aws::String &value)
Definition: TestGridSessionArtifact.h:72
Aws::DeviceFarm::Model::TestGridSessionArtifact::TypeHasBeenSet
bool TypeHasBeenSet() const
Definition: TestGridSessionArtifact.h:93
Aws::DeviceFarm::Model::TestGridSessionArtifact::SetUrl
void SetUrl(const char *value)
Definition: TestGridSessionArtifact.h:139
Aws::DeviceFarm::Model::TestGridSessionArtifact::operator=
TestGridSessionArtifact & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::DeviceFarm::Model::TestGridSessionArtifact::WithType
TestGridSessionArtifact & WithType(TestGridSessionArtifactType &&value)
Definition: TestGridSessionArtifact.h:113
Aws::DeviceFarm::Model::TestGridSessionArtifact::GetType
const TestGridSessionArtifactType & GetType() const
Definition: TestGridSessionArtifact.h:88
Aws::DeviceFarm::Model::TestGridSessionArtifactType
TestGridSessionArtifactType
Definition: TestGridSessionArtifactType.h:17
Aws::DeviceFarm::Model::TestGridSessionArtifact::WithUrl
TestGridSessionArtifact & WithUrl(const char *value)
Definition: TestGridSessionArtifact.h:154
Aws::DeviceFarm::Model::TestGridSessionArtifact::WithType
TestGridSessionArtifact & WithType(const TestGridSessionArtifactType &value)
Definition: TestGridSessionArtifact.h:108
Aws::DeviceFarm::Model::TestGridSessionArtifact::FilenameHasBeenSet
bool FilenameHasBeenSet() const
Definition: TestGridSessionArtifact.h:52
Aws::DeviceFarm::Model::TestGridSessionArtifact::GetFilename
const Aws::String & GetFilename() const
Definition: TestGridSessionArtifact.h:47
AWS_DEVICEFARM_API
#define AWS_DEVICEFARM_API
Definition: DeviceFarm_EXPORTS.h:28
Aws::DeviceFarm::Model::TestGridSessionArtifact::SetFilename
void SetFilename(const Aws::String &value)
Definition: TestGridSessionArtifact.h:57
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:222
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:30
Aws::DeviceFarm::Model::TestGridSessionArtifact::WithUrl
TestGridSessionArtifact & WithUrl(Aws::String &&value)
Definition: TestGridSessionArtifact.h:149
Aws::DeviceFarm::Model::TestGridSessionArtifact::GetUrl
const Aws::String & GetUrl() const
Definition: TestGridSessionArtifact.h:119
Aws::DeviceFarm::Model::TestGridSessionArtifact::SetType
void SetType(const TestGridSessionArtifactType &value)
Definition: TestGridSessionArtifact.h:98
Aws
Definition: AccessManagementClient.h:15
DeviceFarm_EXPORTS.h
Aws::DeviceFarm::Model::TestGridSessionArtifact::SetUrl
void SetUrl(Aws::String &&value)
Definition: TestGridSessionArtifact.h:134
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::DeviceFarm::Model::TestGridSessionArtifact::SetFilename
void SetFilename(Aws::String &&value)
Definition: TestGridSessionArtifact.h:62
TestGridSessionArtifactType.h
Aws::DeviceFarm::Model::TestGridSessionArtifact
Definition: TestGridSessionArtifact.h:36
Aws::DeviceFarm::Model::TestGridSessionArtifact::UrlHasBeenSet
bool UrlHasBeenSet() const
Definition: TestGridSessionArtifact.h:124
Aws::DeviceFarm::Model::TestGridSessionArtifact::WithUrl
TestGridSessionArtifact & WithUrl(const Aws::String &value)
Definition: TestGridSessionArtifact.h:144
Aws::DeviceFarm::Model::TestGridSessionArtifact::SetUrl
void SetUrl(const Aws::String &value)
Definition: TestGridSessionArtifact.h:129