7#include <aws/appmesh/AppMesh_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/appmesh/model/Duration.h>
10#include <aws/appmesh/model/GrpcRetryPolicyEvent.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12#include <aws/appmesh/model/TcpRetryPolicyEvent.h>
91 inline void SetMaxRetries(
long long value) { m_maxRetriesHasBeenSet =
true; m_maxRetries = value; }
125 bool m_grpcRetryEventsHasBeenSet =
false;
128 bool m_httpRetryEventsHasBeenSet =
false;
130 long long m_maxRetries;
131 bool m_maxRetriesHasBeenSet =
false;
134 bool m_perRetryTimeoutHasBeenSet =
false;
137 bool m_tcpRetryEventsHasBeenSet =
false;
GrpcRetryPolicy & AddTcpRetryEvents(const TcpRetryPolicyEvent &value)
GrpcRetryPolicy & WithGrpcRetryEvents(Aws::Vector< GrpcRetryPolicyEvent > &&value)
void SetHttpRetryEvents(Aws::Vector< Aws::String > &&value)
void SetPerRetryTimeout(Duration &&value)
GrpcRetryPolicy & AddHttpRetryEvents(const Aws::String &value)
GrpcRetryPolicy & WithPerRetryTimeout(const Duration &value)
GrpcRetryPolicy & WithGrpcRetryEvents(const Aws::Vector< GrpcRetryPolicyEvent > &value)
GrpcRetryPolicy & WithTcpRetryEvents(const Aws::Vector< TcpRetryPolicyEvent > &value)
AWS_APPMESH_API Aws::Utils::Json::JsonValue Jsonize() const
void SetGrpcRetryEvents(Aws::Vector< GrpcRetryPolicyEvent > &&value)
const Aws::Vector< TcpRetryPolicyEvent > & GetTcpRetryEvents() const
bool HttpRetryEventsHasBeenSet() const
GrpcRetryPolicy & AddGrpcRetryEvents(const GrpcRetryPolicyEvent &value)
AWS_APPMESH_API GrpcRetryPolicy & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetPerRetryTimeout(const Duration &value)
void SetTcpRetryEvents(const Aws::Vector< TcpRetryPolicyEvent > &value)
GrpcRetryPolicy & WithHttpRetryEvents(Aws::Vector< Aws::String > &&value)
GrpcRetryPolicy & AddTcpRetryEvents(TcpRetryPolicyEvent &&value)
const Duration & GetPerRetryTimeout() const
void SetHttpRetryEvents(const Aws::Vector< Aws::String > &value)
GrpcRetryPolicy & WithHttpRetryEvents(const Aws::Vector< Aws::String > &value)
GrpcRetryPolicy & AddGrpcRetryEvents(GrpcRetryPolicyEvent &&value)
void SetTcpRetryEvents(Aws::Vector< TcpRetryPolicyEvent > &&value)
GrpcRetryPolicy & WithPerRetryTimeout(Duration &&value)
bool PerRetryTimeoutHasBeenSet() const
AWS_APPMESH_API GrpcRetryPolicy()
const Aws::Vector< Aws::String > & GetHttpRetryEvents() const
bool GrpcRetryEventsHasBeenSet() const
long long GetMaxRetries() const
void SetMaxRetries(long long value)
GrpcRetryPolicy & WithTcpRetryEvents(Aws::Vector< TcpRetryPolicyEvent > &&value)
GrpcRetryPolicy & AddHttpRetryEvents(Aws::String &&value)
bool MaxRetriesHasBeenSet() const
void SetGrpcRetryEvents(const Aws::Vector< GrpcRetryPolicyEvent > &value)
const Aws::Vector< GrpcRetryPolicyEvent > & GetGrpcRetryEvents() const
AWS_APPMESH_API GrpcRetryPolicy(Aws::Utils::Json::JsonView jsonValue)
GrpcRetryPolicy & WithMaxRetries(long long value)
bool TcpRetryEventsHasBeenSet() const
GrpcRetryPolicy & AddHttpRetryEvents(const char *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