AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ProjectMetadata.h
1
6#pragma once
7#include <aws/lookoutvision/LookoutforVision_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace LookoutforVision
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_LOOKOUTFORVISION_API ProjectMetadata();
37 AWS_LOOKOUTFORVISION_API ProjectMetadata(Aws::Utils::Json::JsonView jsonValue);
38 AWS_LOOKOUTFORVISION_API ProjectMetadata& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_LOOKOUTFORVISION_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetProjectArn() const{ return m_projectArn; }
47 inline bool ProjectArnHasBeenSet() const { return m_projectArnHasBeenSet; }
48 inline void SetProjectArn(const Aws::String& value) { m_projectArnHasBeenSet = true; m_projectArn = value; }
49 inline void SetProjectArn(Aws::String&& value) { m_projectArnHasBeenSet = true; m_projectArn = std::move(value); }
50 inline void SetProjectArn(const char* value) { m_projectArnHasBeenSet = true; m_projectArn.assign(value); }
51 inline ProjectMetadata& WithProjectArn(const Aws::String& value) { SetProjectArn(value); return *this;}
52 inline ProjectMetadata& WithProjectArn(Aws::String&& value) { SetProjectArn(std::move(value)); return *this;}
53 inline ProjectMetadata& WithProjectArn(const char* value) { SetProjectArn(value); return *this;}
55
57
60 inline const Aws::String& GetProjectName() const{ return m_projectName; }
61 inline bool ProjectNameHasBeenSet() const { return m_projectNameHasBeenSet; }
62 inline void SetProjectName(const Aws::String& value) { m_projectNameHasBeenSet = true; m_projectName = value; }
63 inline void SetProjectName(Aws::String&& value) { m_projectNameHasBeenSet = true; m_projectName = std::move(value); }
64 inline void SetProjectName(const char* value) { m_projectNameHasBeenSet = true; m_projectName.assign(value); }
65 inline ProjectMetadata& WithProjectName(const Aws::String& value) { SetProjectName(value); return *this;}
66 inline ProjectMetadata& WithProjectName(Aws::String&& value) { SetProjectName(std::move(value)); return *this;}
67 inline ProjectMetadata& WithProjectName(const char* value) { SetProjectName(value); return *this;}
69
71
74 inline const Aws::Utils::DateTime& GetCreationTimestamp() const{ return m_creationTimestamp; }
75 inline bool CreationTimestampHasBeenSet() const { return m_creationTimestampHasBeenSet; }
76 inline void SetCreationTimestamp(const Aws::Utils::DateTime& value) { m_creationTimestampHasBeenSet = true; m_creationTimestamp = value; }
77 inline void SetCreationTimestamp(Aws::Utils::DateTime&& value) { m_creationTimestampHasBeenSet = true; m_creationTimestamp = std::move(value); }
79 inline ProjectMetadata& WithCreationTimestamp(Aws::Utils::DateTime&& value) { SetCreationTimestamp(std::move(value)); return *this;}
81 private:
82
83 Aws::String m_projectArn;
84 bool m_projectArnHasBeenSet = false;
85
86 Aws::String m_projectName;
87 bool m_projectNameHasBeenSet = false;
88
89 Aws::Utils::DateTime m_creationTimestamp;
90 bool m_creationTimestampHasBeenSet = false;
91 };
92
93} // namespace Model
94} // namespace LookoutforVision
95} // namespace Aws
ProjectMetadata & WithProjectArn(Aws::String &&value)
const Aws::Utils::DateTime & GetCreationTimestamp() const
AWS_LOOKOUTFORVISION_API ProjectMetadata(Aws::Utils::Json::JsonView jsonValue)
void SetProjectName(const Aws::String &value)
ProjectMetadata & WithProjectArn(const Aws::String &value)
AWS_LOOKOUTFORVISION_API ProjectMetadata & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetCreationTimestamp(Aws::Utils::DateTime &&value)
ProjectMetadata & WithProjectName(Aws::String &&value)
ProjectMetadata & WithProjectArn(const char *value)
ProjectMetadata & WithCreationTimestamp(Aws::Utils::DateTime &&value)
ProjectMetadata & WithProjectName(const char *value)
AWS_LOOKOUTFORVISION_API Aws::Utils::Json::JsonValue Jsonize() const
void SetCreationTimestamp(const Aws::Utils::DateTime &value)
ProjectMetadata & WithProjectName(const Aws::String &value)
ProjectMetadata & WithCreationTimestamp(const Aws::Utils::DateTime &value)
void SetProjectArn(const Aws::String &value)
AWS_LOOKOUTFORVISION_API ProjectMetadata()
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue