7#include <aws/codedeploy/CodeDeploy_EXPORTS.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
42 template <
typename DescriptionT = Aws::String>
44 m_descriptionHasBeenSet =
true;
45 m_description = std::forward<DescriptionT>(value);
47 template <
typename DescriptionT = Aws::String>
60 template <
typename DeploymentGroupsT = Aws::Vector<Aws::String>>
62 m_deploymentGroupsHasBeenSet =
true;
63 m_deploymentGroups = std::forward<DeploymentGroupsT>(value);
65 template <
typename DeploymentGroupsT = Aws::Vector<Aws::String>>
70 template <
typename DeploymentGroupsT = Aws::String>
72 m_deploymentGroupsHasBeenSet =
true;
73 m_deploymentGroups.emplace_back(std::forward<DeploymentGroupsT>(value));
84 template <
typename FirstUsedTimeT = Aws::Utils::DateTime>
86 m_firstUsedTimeHasBeenSet =
true;
87 m_firstUsedTime = std::forward<FirstUsedTimeT>(value);
89 template <
typename FirstUsedTimeT = Aws::Utils::DateTime>
102 template <
typename LastUsedTimeT = Aws::Utils::DateTime>
104 m_lastUsedTimeHasBeenSet =
true;
105 m_lastUsedTime = std::forward<LastUsedTimeT>(value);
107 template <
typename LastUsedTimeT = Aws::Utils::DateTime>
120 template <
typename RegisterTimeT = Aws::Utils::DateTime>
122 m_registerTimeHasBeenSet =
true;
123 m_registerTime = std::forward<RegisterTimeT>(value);
125 template <
typename RegisterTimeT = Aws::Utils::DateTime>
141 bool m_descriptionHasBeenSet =
false;
142 bool m_deploymentGroupsHasBeenSet =
false;
143 bool m_firstUsedTimeHasBeenSet =
false;
144 bool m_lastUsedTimeHasBeenSet =
false;
145 bool m_registerTimeHasBeenSet =
false;
AWS_CODEDEPLOY_API GenericRevisionInfo(Aws::Utils::Json::JsonView jsonValue)
AWS_CODEDEPLOY_API GenericRevisionInfo & operator=(Aws::Utils::Json::JsonView jsonValue)
bool FirstUsedTimeHasBeenSet() const
GenericRevisionInfo & WithLastUsedTime(LastUsedTimeT &&value)
GenericRevisionInfo & WithFirstUsedTime(FirstUsedTimeT &&value)
bool LastUsedTimeHasBeenSet() const
const Aws::Utils::DateTime & GetRegisterTime() const
bool DeploymentGroupsHasBeenSet() const
bool RegisterTimeHasBeenSet() const
void SetDeploymentGroups(DeploymentGroupsT &&value)
GenericRevisionInfo & AddDeploymentGroups(DeploymentGroupsT &&value)
void SetRegisterTime(RegisterTimeT &&value)
GenericRevisionInfo & WithDescription(DescriptionT &&value)
AWS_CODEDEPLOY_API Aws::Utils::Json::JsonValue Jsonize() const
void SetFirstUsedTime(FirstUsedTimeT &&value)
void SetDescription(DescriptionT &&value)
const Aws::String & GetDescription() const
const Aws::Utils::DateTime & GetFirstUsedTime() const
void SetLastUsedTime(LastUsedTimeT &&value)
const Aws::Vector< Aws::String > & GetDeploymentGroups() const
AWS_CODEDEPLOY_API GenericRevisionInfo()=default
bool DescriptionHasBeenSet() const
GenericRevisionInfo & WithRegisterTime(RegisterTimeT &&value)
const Aws::Utils::DateTime & GetLastUsedTime() const
GenericRevisionInfo & WithDeploymentGroups(DeploymentGroupsT &&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