7#include <aws/imagebuilder/Imagebuilder_EXPORTS.h>
8#include <aws/imagebuilder/ImagebuilderRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/imagebuilder/model/ResourceState.h>
11#include <aws/imagebuilder/model/ResourceStateUpdateIncludeResources.h>
12#include <aws/imagebuilder/model/ResourceStateUpdateExclusionRules.h>
13#include <aws/core/utils/DateTime.h>
15#include <aws/core/utils/UUID.h>
49 inline void SetResourceArn(
const char* value) { m_resourceArnHasBeenSet =
true; m_resourceArn.assign(value); }
76 inline void SetExecutionRole(
const char* value) { m_executionRoleHasBeenSet =
true; m_executionRole.assign(value); }
131 inline void SetClientToken(
const char* value) { m_clientTokenHasBeenSet =
true; m_clientToken.assign(value); }
139 bool m_resourceArnHasBeenSet =
false;
142 bool m_stateHasBeenSet =
false;
145 bool m_executionRoleHasBeenSet =
false;
148 bool m_includeResourcesHasBeenSet =
false;
151 bool m_exclusionRulesHasBeenSet =
false;
154 bool m_updateAtHasBeenSet =
false;
157 bool m_clientTokenHasBeenSet =
false;
void SetExclusionRules(ResourceStateUpdateExclusionRules &&value)
virtual const char * GetServiceRequestName() const override
StartResourceStateUpdateRequest & WithUpdateAt(Aws::Utils::DateTime &&value)
StartResourceStateUpdateRequest & WithClientToken(const Aws::String &value)
StartResourceStateUpdateRequest & WithResourceArn(const char *value)
StartResourceStateUpdateRequest & WithExecutionRole(const Aws::String &value)
void SetClientToken(const char *value)
void SetExecutionRole(Aws::String &&value)
const ResourceState & GetState() const
void SetExecutionRole(const Aws::String &value)
AWS_IMAGEBUILDER_API StartResourceStateUpdateRequest()
bool ExclusionRulesHasBeenSet() const
StartResourceStateUpdateRequest & WithClientToken(const char *value)
const Aws::String & GetResourceArn() const
StartResourceStateUpdateRequest & WithExecutionRole(Aws::String &&value)
bool ExecutionRoleHasBeenSet() const
const ResourceStateUpdateIncludeResources & GetIncludeResources() const
StartResourceStateUpdateRequest & WithExclusionRules(ResourceStateUpdateExclusionRules &&value)
void SetUpdateAt(const Aws::Utils::DateTime &value)
void SetState(ResourceState &&value)
void SetClientToken(Aws::String &&value)
bool ResourceArnHasBeenSet() const
void SetClientToken(const Aws::String &value)
void SetState(const ResourceState &value)
StartResourceStateUpdateRequest & WithIncludeResources(const ResourceStateUpdateIncludeResources &value)
void SetUpdateAt(Aws::Utils::DateTime &&value)
StartResourceStateUpdateRequest & WithClientToken(Aws::String &&value)
bool ClientTokenHasBeenSet() const
StartResourceStateUpdateRequest & WithState(ResourceState &&value)
const Aws::String & GetExecutionRole() const
StartResourceStateUpdateRequest & WithExclusionRules(const ResourceStateUpdateExclusionRules &value)
const Aws::String & GetClientToken() const
void SetExecutionRole(const char *value)
void SetResourceArn(Aws::String &&value)
StartResourceStateUpdateRequest & WithResourceArn(const Aws::String &value)
StartResourceStateUpdateRequest & WithExecutionRole(const char *value)
const Aws::Utils::DateTime & GetUpdateAt() const
StartResourceStateUpdateRequest & WithIncludeResources(ResourceStateUpdateIncludeResources &&value)
void SetIncludeResources(ResourceStateUpdateIncludeResources &&value)
void SetExclusionRules(const ResourceStateUpdateExclusionRules &value)
bool StateHasBeenSet() const
StartResourceStateUpdateRequest & WithState(const ResourceState &value)
bool IncludeResourcesHasBeenSet() const
void SetResourceArn(const Aws::String &value)
StartResourceStateUpdateRequest & WithUpdateAt(const Aws::Utils::DateTime &value)
void SetIncludeResources(const ResourceStateUpdateIncludeResources &value)
void SetResourceArn(const char *value)
AWS_IMAGEBUILDER_API Aws::String SerializePayload() const override
const ResourceStateUpdateExclusionRules & GetExclusionRules() const
StartResourceStateUpdateRequest & WithResourceArn(Aws::String &&value)
bool UpdateAtHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String