AWS SDK for C++  1.9.19
AWS SDK for C++
BlockPublicAccessConfigurationMetadata.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 EMR
23 {
24 namespace Model
25 {
26 
38  {
39  public:
44 
45 
49  inline const Aws::Utils::DateTime& GetCreationDateTime() const{ return m_creationDateTime; }
50 
54  inline bool CreationDateTimeHasBeenSet() const { return m_creationDateTimeHasBeenSet; }
55 
59  inline void SetCreationDateTime(const Aws::Utils::DateTime& value) { m_creationDateTimeHasBeenSet = true; m_creationDateTime = value; }
60 
64  inline void SetCreationDateTime(Aws::Utils::DateTime&& value) { m_creationDateTimeHasBeenSet = true; m_creationDateTime = std::move(value); }
65 
69  inline BlockPublicAccessConfigurationMetadata& WithCreationDateTime(const Aws::Utils::DateTime& value) { SetCreationDateTime(value); return *this;}
70 
74  inline BlockPublicAccessConfigurationMetadata& WithCreationDateTime(Aws::Utils::DateTime&& value) { SetCreationDateTime(std::move(value)); return *this;}
75 
76 
80  inline const Aws::String& GetCreatedByArn() const{ return m_createdByArn; }
81 
85  inline bool CreatedByArnHasBeenSet() const { return m_createdByArnHasBeenSet; }
86 
90  inline void SetCreatedByArn(const Aws::String& value) { m_createdByArnHasBeenSet = true; m_createdByArn = value; }
91 
95  inline void SetCreatedByArn(Aws::String&& value) { m_createdByArnHasBeenSet = true; m_createdByArn = std::move(value); }
96 
100  inline void SetCreatedByArn(const char* value) { m_createdByArnHasBeenSet = true; m_createdByArn.assign(value); }
101 
105  inline BlockPublicAccessConfigurationMetadata& WithCreatedByArn(const Aws::String& value) { SetCreatedByArn(value); return *this;}
106 
110  inline BlockPublicAccessConfigurationMetadata& WithCreatedByArn(Aws::String&& value) { SetCreatedByArn(std::move(value)); return *this;}
111 
115  inline BlockPublicAccessConfigurationMetadata& WithCreatedByArn(const char* value) { SetCreatedByArn(value); return *this;}
116 
117  private:
118 
119  Aws::Utils::DateTime m_creationDateTime;
120  bool m_creationDateTimeHasBeenSet;
121 
122  Aws::String m_createdByArn;
123  bool m_createdByArnHasBeenSet;
124  };
125 
126 } // namespace Model
127 } // namespace EMR
128 } // namespace Aws
Aws::Utils::DateTime
Definition: DateTime.h:55
EMR_EXPORTS.h
Aws::EMR::Model::BlockPublicAccessConfigurationMetadata::WithCreatedByArn
BlockPublicAccessConfigurationMetadata & WithCreatedByArn(Aws::String &&value)
Definition: BlockPublicAccessConfigurationMetadata.h:110
Aws::EMR::Model::BlockPublicAccessConfigurationMetadata::operator=
BlockPublicAccessConfigurationMetadata & operator=(Aws::Utils::Json::JsonView jsonValue)
DateTime.h
Aws::EMR::Model::BlockPublicAccessConfigurationMetadata::SetCreationDateTime
void SetCreationDateTime(const Aws::Utils::DateTime &value)
Definition: BlockPublicAccessConfigurationMetadata.h:59
Aws::EMR::Model::BlockPublicAccessConfigurationMetadata::BlockPublicAccessConfigurationMetadata
BlockPublicAccessConfigurationMetadata()
Aws::EMR::Model::BlockPublicAccessConfigurationMetadata::SetCreatedByArn
void SetCreatedByArn(const char *value)
Definition: BlockPublicAccessConfigurationMetadata.h:100
Aws::EMR::Model::BlockPublicAccessConfigurationMetadata::GetCreatedByArn
const Aws::String & GetCreatedByArn() const
Definition: BlockPublicAccessConfigurationMetadata.h:80
Aws::EMR::Model::BlockPublicAccessConfigurationMetadata::SetCreationDateTime
void SetCreationDateTime(Aws::Utils::DateTime &&value)
Definition: BlockPublicAccessConfigurationMetadata.h:64
Aws::EMR::Model::BlockPublicAccessConfigurationMetadata
Definition: BlockPublicAccessConfigurationMetadata.h:38
Aws::EMR::Model::BlockPublicAccessConfigurationMetadata::SetCreatedByArn
void SetCreatedByArn(const Aws::String &value)
Definition: BlockPublicAccessConfigurationMetadata.h:90
Aws::EMR::Model::BlockPublicAccessConfigurationMetadata::WithCreatedByArn
BlockPublicAccessConfigurationMetadata & WithCreatedByArn(const char *value)
Definition: BlockPublicAccessConfigurationMetadata.h:115
Aws::EMR::Model::ExecutionEngineType::NOT_SET
@ NOT_SET
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:222
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:30
Aws::EMR::Model::BlockPublicAccessConfigurationMetadata::SetCreatedByArn
void SetCreatedByArn(Aws::String &&value)
Definition: BlockPublicAccessConfigurationMetadata.h:95
Aws
Definition: AccessManagementClient.h:15
Aws::EMR::Model::BlockPublicAccessConfigurationMetadata::WithCreationDateTime
BlockPublicAccessConfigurationMetadata & WithCreationDateTime(const Aws::Utils::DateTime &value)
Definition: BlockPublicAccessConfigurationMetadata.h:69
Aws::EMR::Model::BlockPublicAccessConfigurationMetadata::WithCreatedByArn
BlockPublicAccessConfigurationMetadata & WithCreatedByArn(const Aws::String &value)
Definition: BlockPublicAccessConfigurationMetadata.h:105
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::EMR::Model::BlockPublicAccessConfigurationMetadata::BlockPublicAccessConfigurationMetadata
BlockPublicAccessConfigurationMetadata(Aws::Utils::Json::JsonView jsonValue)
Aws::EMR::Model::BlockPublicAccessConfigurationMetadata::WithCreationDateTime
BlockPublicAccessConfigurationMetadata & WithCreationDateTime(Aws::Utils::DateTime &&value)
Definition: BlockPublicAccessConfigurationMetadata.h:74
Aws::EMR::Model::BlockPublicAccessConfigurationMetadata::GetCreationDateTime
const Aws::Utils::DateTime & GetCreationDateTime() const
Definition: BlockPublicAccessConfigurationMetadata.h:49
Aws::EMR::Model::BlockPublicAccessConfigurationMetadata::CreationDateTimeHasBeenSet
bool CreationDateTimeHasBeenSet() const
Definition: BlockPublicAccessConfigurationMetadata.h:54
Aws::EMR::Model::BlockPublicAccessConfigurationMetadata::CreatedByArnHasBeenSet
bool CreatedByArnHasBeenSet() const
Definition: BlockPublicAccessConfigurationMetadata.h:85
AWS_EMR_API
#define AWS_EMR_API
Definition: EMR_EXPORTS.h:28
Aws::EMR::Model::BlockPublicAccessConfigurationMetadata::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const