AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
BlockPublicAccessConfigurationMetadata.h
1
6#pragma once
7#include <aws/elasticmapreduce/EMR_EXPORTS.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.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 EMR
23{
24namespace Model
25{
26
38 {
39 public:
44
45
47
50 inline const Aws::Utils::DateTime& GetCreationDateTime() const{ return m_creationDateTime; }
51 inline bool CreationDateTimeHasBeenSet() const { return m_creationDateTimeHasBeenSet; }
52 inline void SetCreationDateTime(const Aws::Utils::DateTime& value) { m_creationDateTimeHasBeenSet = true; m_creationDateTime = value; }
53 inline void SetCreationDateTime(Aws::Utils::DateTime&& value) { m_creationDateTimeHasBeenSet = true; m_creationDateTime = std::move(value); }
57
59
62 inline const Aws::String& GetCreatedByArn() const{ return m_createdByArn; }
63 inline bool CreatedByArnHasBeenSet() const { return m_createdByArnHasBeenSet; }
64 inline void SetCreatedByArn(const Aws::String& value) { m_createdByArnHasBeenSet = true; m_createdByArn = value; }
65 inline void SetCreatedByArn(Aws::String&& value) { m_createdByArnHasBeenSet = true; m_createdByArn = std::move(value); }
66 inline void SetCreatedByArn(const char* value) { m_createdByArnHasBeenSet = true; m_createdByArn.assign(value); }
68 inline BlockPublicAccessConfigurationMetadata& WithCreatedByArn(Aws::String&& value) { SetCreatedByArn(std::move(value)); return *this;}
69 inline BlockPublicAccessConfigurationMetadata& WithCreatedByArn(const char* value) { SetCreatedByArn(value); return *this;}
71 private:
72
73 Aws::Utils::DateTime m_creationDateTime;
74 bool m_creationDateTimeHasBeenSet = false;
75
76 Aws::String m_createdByArn;
77 bool m_createdByArnHasBeenSet = false;
78 };
79
80} // namespace Model
81} // namespace EMR
82} // namespace Aws
BlockPublicAccessConfigurationMetadata & WithCreatedByArn(const Aws::String &value)
AWS_EMR_API BlockPublicAccessConfigurationMetadata & operator=(Aws::Utils::Json::JsonView jsonValue)
BlockPublicAccessConfigurationMetadata & WithCreatedByArn(const char *value)
AWS_EMR_API Aws::Utils::Json::JsonValue Jsonize() const
BlockPublicAccessConfigurationMetadata & WithCreationDateTime(Aws::Utils::DateTime &&value)
AWS_EMR_API BlockPublicAccessConfigurationMetadata(Aws::Utils::Json::JsonView jsonValue)
BlockPublicAccessConfigurationMetadata & WithCreatedByArn(Aws::String &&value)
BlockPublicAccessConfigurationMetadata & WithCreationDateTime(const Aws::Utils::DateTime &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue