AWS SDK for C++  1.9.108
AWS SDK for C++
ProjectMetadata.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 LookoutforVision
23 {
24 namespace Model
25 {
26 
34  {
35  public:
40 
41 
45  inline const Aws::String& GetProjectArn() const{ return m_projectArn; }
46 
50  inline bool ProjectArnHasBeenSet() const { return m_projectArnHasBeenSet; }
51 
55  inline void SetProjectArn(const Aws::String& value) { m_projectArnHasBeenSet = true; m_projectArn = value; }
56 
60  inline void SetProjectArn(Aws::String&& value) { m_projectArnHasBeenSet = true; m_projectArn = std::move(value); }
61 
65  inline void SetProjectArn(const char* value) { m_projectArnHasBeenSet = true; m_projectArn.assign(value); }
66 
70  inline ProjectMetadata& WithProjectArn(const Aws::String& value) { SetProjectArn(value); return *this;}
71 
75  inline ProjectMetadata& WithProjectArn(Aws::String&& value) { SetProjectArn(std::move(value)); return *this;}
76 
80  inline ProjectMetadata& WithProjectArn(const char* value) { SetProjectArn(value); return *this;}
81 
82 
86  inline const Aws::String& GetProjectName() const{ return m_projectName; }
87 
91  inline bool ProjectNameHasBeenSet() const { return m_projectNameHasBeenSet; }
92 
96  inline void SetProjectName(const Aws::String& value) { m_projectNameHasBeenSet = true; m_projectName = value; }
97 
101  inline void SetProjectName(Aws::String&& value) { m_projectNameHasBeenSet = true; m_projectName = std::move(value); }
102 
106  inline void SetProjectName(const char* value) { m_projectNameHasBeenSet = true; m_projectName.assign(value); }
107 
111  inline ProjectMetadata& WithProjectName(const Aws::String& value) { SetProjectName(value); return *this;}
112 
116  inline ProjectMetadata& WithProjectName(Aws::String&& value) { SetProjectName(std::move(value)); return *this;}
117 
121  inline ProjectMetadata& WithProjectName(const char* value) { SetProjectName(value); return *this;}
122 
123 
127  inline const Aws::Utils::DateTime& GetCreationTimestamp() const{ return m_creationTimestamp; }
128 
132  inline bool CreationTimestampHasBeenSet() const { return m_creationTimestampHasBeenSet; }
133 
137  inline void SetCreationTimestamp(const Aws::Utils::DateTime& value) { m_creationTimestampHasBeenSet = true; m_creationTimestamp = value; }
138 
142  inline void SetCreationTimestamp(Aws::Utils::DateTime&& value) { m_creationTimestampHasBeenSet = true; m_creationTimestamp = std::move(value); }
143 
147  inline ProjectMetadata& WithCreationTimestamp(const Aws::Utils::DateTime& value) { SetCreationTimestamp(value); return *this;}
148 
152  inline ProjectMetadata& WithCreationTimestamp(Aws::Utils::DateTime&& value) { SetCreationTimestamp(std::move(value)); return *this;}
153 
154  private:
155 
156  Aws::String m_projectArn;
157  bool m_projectArnHasBeenSet;
158 
159  Aws::String m_projectName;
160  bool m_projectNameHasBeenSet;
161 
162  Aws::Utils::DateTime m_creationTimestamp;
163  bool m_creationTimestampHasBeenSet;
164  };
165 
166 } // namespace Model
167 } // namespace LookoutforVision
168 } // namespace Aws
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::LookoutforVision::Model::ProjectMetadata::WithCreationTimestamp
ProjectMetadata & WithCreationTimestamp(Aws::Utils::DateTime &&value)
Definition: ProjectMetadata.h:152
Aws::LookoutforVision::Model::ProjectMetadata::ProjectMetadata
ProjectMetadata(Aws::Utils::Json::JsonView jsonValue)
Aws::LookoutforVision::Model::ProjectMetadata::WithProjectArn
ProjectMetadata & WithProjectArn(const char *value)
Definition: ProjectMetadata.h:80
Aws::LookoutforVision::Model::ProjectMetadata::WithProjectArn
ProjectMetadata & WithProjectArn(Aws::String &&value)
Definition: ProjectMetadata.h:75
Aws::LookoutforVision::Model::ProjectMetadata::SetProjectArn
void SetProjectArn(const Aws::String &value)
Definition: ProjectMetadata.h:55
DateTime.h
Aws::LookoutforVision::Model::ProjectMetadata::SetProjectName
void SetProjectName(Aws::String &&value)
Definition: ProjectMetadata.h:101
Aws::LookoutforVision::Model::ProjectMetadata::WithCreationTimestamp
ProjectMetadata & WithCreationTimestamp(const Aws::Utils::DateTime &value)
Definition: ProjectMetadata.h:147
Aws::LookoutforVision::Model::ProjectMetadata::operator=
ProjectMetadata & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::LookoutforVision::Model::ProjectMetadata::SetProjectArn
void SetProjectArn(Aws::String &&value)
Definition: ProjectMetadata.h:60
Aws::LookoutforVision::Model::ProjectMetadata::GetProjectName
const Aws::String & GetProjectName() const
Definition: ProjectMetadata.h:86
Aws::LookoutforVision::Model::ProjectMetadata::GetCreationTimestamp
const Aws::Utils::DateTime & GetCreationTimestamp() const
Definition: ProjectMetadata.h:127
LookoutforVision_EXPORTS.h
Aws::LookoutforVision::Model::ProjectMetadata::SetCreationTimestamp
void SetCreationTimestamp(Aws::Utils::DateTime &&value)
Definition: ProjectMetadata.h:142
Aws::LookoutforVision::Model::ProjectMetadata::SetCreationTimestamp
void SetCreationTimestamp(const Aws::Utils::DateTime &value)
Definition: ProjectMetadata.h:137
Aws::LookoutforVision::Model::ProjectMetadata::WithProjectName
ProjectMetadata & WithProjectName(Aws::String &&value)
Definition: ProjectMetadata.h:116
Aws::LookoutforVision::Model::ProjectMetadata::SetProjectName
void SetProjectName(const char *value)
Definition: ProjectMetadata.h:106
Aws::LookoutforVision::Model::ProjectMetadata::WithProjectArn
ProjectMetadata & WithProjectArn(const Aws::String &value)
Definition: ProjectMetadata.h:70
Aws::LookoutforVision::Model::ProjectMetadata::ProjectArnHasBeenSet
bool ProjectArnHasBeenSet() const
Definition: ProjectMetadata.h:50
Aws::LookoutforVision::Model::ProjectMetadata::GetProjectArn
const Aws::String & GetProjectArn() const
Definition: ProjectMetadata.h:45
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::LookoutforVision::Model::ProjectMetadata
Definition: ProjectMetadata.h:34
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::LookoutforVision::Model::ProjectMetadata::CreationTimestampHasBeenSet
bool CreationTimestampHasBeenSet() const
Definition: ProjectMetadata.h:132
Aws::LookoutforVision::Model::ProjectMetadata::WithProjectName
ProjectMetadata & WithProjectName(const Aws::String &value)
Definition: ProjectMetadata.h:111
Aws::LookoutforVision::Model::ProjectMetadata::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::LookoutforVision::Model::ProjectMetadata::SetProjectArn
void SetProjectArn(const char *value)
Definition: ProjectMetadata.h:65
Aws::LookoutforVision::Model::ProjectMetadata::WithProjectName
ProjectMetadata & WithProjectName(const char *value)
Definition: ProjectMetadata.h:121
Aws::LookoutforVision::Model::ProjectMetadata::ProjectMetadata
ProjectMetadata()
Aws
Definition: AccessManagementClient.h:15
Aws::LookoutforVision::Model::ProjectMetadata::ProjectNameHasBeenSet
bool ProjectNameHasBeenSet() const
Definition: ProjectMetadata.h:91
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
AWS_LOOKOUTFORVISION_API
#define AWS_LOOKOUTFORVISION_API
Definition: LookoutforVision_EXPORTS.h:28
Aws::LookoutforVision::Model::ProjectMetadata::SetProjectName
void SetProjectName(const Aws::String &value)
Definition: ProjectMetadata.h:96