7#include <aws/ds/DirectoryService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/ds/model/Attribute.h>
23namespace DirectoryService
49 template<
typename ComputerIdT = Aws::String>
50 void SetComputerId(ComputerIdT&& value) { m_computerIdHasBeenSet =
true; m_computerId = std::forward<ComputerIdT>(value); }
51 template<
typename ComputerIdT = Aws::String>
61 template<
typename ComputerNameT = Aws::String>
62 void SetComputerName(ComputerNameT&& value) { m_computerNameHasBeenSet =
true; m_computerName = std::forward<ComputerNameT>(value); }
63 template<
typename ComputerNameT = Aws::String>
74 template<
typename ComputerAttributesT = Aws::Vector<Attribute>>
75 void SetComputerAttributes(ComputerAttributesT&& value) { m_computerAttributesHasBeenSet =
true; m_computerAttributes = std::forward<ComputerAttributesT>(value); }
76 template<
typename ComputerAttributesT = Aws::Vector<Attribute>>
78 template<
typename ComputerAttributesT = Attribute>
79 Computer&
AddComputerAttributes(ComputerAttributesT&& value) { m_computerAttributesHasBeenSet =
true; m_computerAttributes.emplace_back(std::forward<ComputerAttributesT>(value));
return *
this; }
84 bool m_computerIdHasBeenSet =
false;
87 bool m_computerNameHasBeenSet =
false;
90 bool m_computerAttributesHasBeenSet =
false;
const Aws::String & GetComputerName() const
bool ComputerAttributesHasBeenSet() const
AWS_DIRECTORYSERVICE_API Computer(Aws::Utils::Json::JsonView jsonValue)
Computer & WithComputerId(ComputerIdT &&value)
AWS_DIRECTORYSERVICE_API Computer & operator=(Aws::Utils::Json::JsonView jsonValue)
Computer & WithComputerName(ComputerNameT &&value)
void SetComputerAttributes(ComputerAttributesT &&value)
void SetComputerName(ComputerNameT &&value)
bool ComputerIdHasBeenSet() const
const Aws::Vector< Attribute > & GetComputerAttributes() const
Computer & WithComputerAttributes(ComputerAttributesT &&value)
AWS_DIRECTORYSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
bool ComputerNameHasBeenSet() const
AWS_DIRECTORYSERVICE_API Computer()=default
const Aws::String & GetComputerId() const
Computer & AddComputerAttributes(ComputerAttributesT &&value)
void SetComputerId(ComputerIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue