AWS SDK for C++

AWS SDK for C++ Version 1.11.612

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 template<typename CreationDateTimeT = Aws::Utils::DateTime>
53 void SetCreationDateTime(CreationDateTimeT&& value) { m_creationDateTimeHasBeenSet = true; m_creationDateTime = std::forward<CreationDateTimeT>(value); }
54 template<typename CreationDateTimeT = Aws::Utils::DateTime>
55 BlockPublicAccessConfigurationMetadata& WithCreationDateTime(CreationDateTimeT&& value) { SetCreationDateTime(std::forward<CreationDateTimeT>(value)); return *this;}
57
59
62 inline const Aws::String& GetCreatedByArn() const { return m_createdByArn; }
63 inline bool CreatedByArnHasBeenSet() const { return m_createdByArnHasBeenSet; }
64 template<typename CreatedByArnT = Aws::String>
65 void SetCreatedByArn(CreatedByArnT&& value) { m_createdByArnHasBeenSet = true; m_createdByArn = std::forward<CreatedByArnT>(value); }
66 template<typename CreatedByArnT = Aws::String>
67 BlockPublicAccessConfigurationMetadata& WithCreatedByArn(CreatedByArnT&& value) { SetCreatedByArn(std::forward<CreatedByArnT>(value)); return *this;}
69 private:
70
71 Aws::Utils::DateTime m_creationDateTime{};
72 bool m_creationDateTimeHasBeenSet = false;
73
74 Aws::String m_createdByArn;
75 bool m_createdByArnHasBeenSet = false;
76 };
77
78} // namespace Model
79} // namespace EMR
80} // namespace Aws
AWS_EMR_API BlockPublicAccessConfigurationMetadata & operator=(Aws::Utils::Json::JsonView jsonValue)
BlockPublicAccessConfigurationMetadata & WithCreatedByArn(CreatedByArnT &&value)
AWS_EMR_API Aws::Utils::Json::JsonValue Jsonize() const
BlockPublicAccessConfigurationMetadata & WithCreationDateTime(CreationDateTimeT &&value)
AWS_EMR_API BlockPublicAccessConfigurationMetadata(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue