7#include <aws/clouddirectory/CloudDirectory_EXPORTS.h>
8#include <aws/clouddirectory/model/DirectoryState.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
21namespace CloudDirectory {
43 template <
typename NameT = Aws::String>
45 m_nameHasBeenSet =
true;
46 m_name = std::forward<NameT>(value);
48 template <
typename NameT = Aws::String>
50 SetName(std::forward<NameT>(value));
62 template <
typename DirectoryArnT = Aws::String>
64 m_directoryArnHasBeenSet =
true;
65 m_directoryArn = std::forward<DirectoryArnT>(value);
67 template <
typename DirectoryArnT = Aws::String>
82 m_stateHasBeenSet =
true;
97 template <
typename CreationDateTimeT = Aws::Utils::DateTime>
99 m_creationDateTimeHasBeenSet =
true;
100 m_creationDateTime = std::forward<CreationDateTimeT>(value);
102 template <
typename CreationDateTimeT = Aws::Utils::DateTime>
116 bool m_nameHasBeenSet =
false;
117 bool m_directoryArnHasBeenSet =
false;
118 bool m_stateHasBeenSet =
false;
119 bool m_creationDateTimeHasBeenSet =
false;
bool DirectoryArnHasBeenSet() const
AWS_CLOUDDIRECTORY_API Directory & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Utils::DateTime & GetCreationDateTime() const
Directory & WithState(DirectoryState value)
AWS_CLOUDDIRECTORY_API Directory()=default
const Aws::String & GetDirectoryArn() const
bool StateHasBeenSet() const
AWS_CLOUDDIRECTORY_API Aws::Utils::Json::JsonValue Jsonize() const
Directory & WithCreationDateTime(CreationDateTimeT &&value)
AWS_CLOUDDIRECTORY_API Directory(Aws::Utils::Json::JsonView jsonValue)
Directory & WithDirectoryArn(DirectoryArnT &&value)
DirectoryState GetState() const
void SetCreationDateTime(CreationDateTimeT &&value)
void SetState(DirectoryState value)
void SetName(NameT &&value)
bool NameHasBeenSet() const
bool CreationDateTimeHasBeenSet() const
Directory & WithName(NameT &&value)
void SetDirectoryArn(DirectoryArnT &&value)
const Aws::String & GetName() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue